Deprecation warnings

Bug #1812232 reported by Robie Basak on 2019-01-17
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pastebinit (Debian)
New
Unknown
pastebinit (Ubuntu)
Undecided
Unassigned

Bug Description

$ dpkg-query -W pastebinit
pastebinit 1.5-2
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Disco Dingo (development branch)
Release: 19.04
Codename: disco
$ echo 'a'|pastebinit
/usr/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
  release = platform.linux_distribution()[0].lower()
/usr/bin/pastebinit:413: DeprecationWarning: pasteURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
  url_opener = pasteURLopener()
http://paste.ubuntu.com/p/R4f5RKMWTf/

Expected results: URL output only

Hans Joachim Desserud (hjd) wrote :

Thanks for reporting.

Found a corresponding bug report in Debian, so marking confirmed and attaching bug watch.

tags: added: disco
Changed in pastebinit (Ubuntu):
status: New → Confirmed
Changed in pastebinit (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.