DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5

Bug #1835262 reported by Jamin W. Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pastebinit
New
Undecided
Unassigned

Bug Description

pastebinit is using deprecated functions and should be updated:

/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
  release = platform.linux_distribution()[0].lower()
/bin/pastebinit:413: DeprecationWarning: pasteURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
  url_opener = pasteURLopener()

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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