HomeLubuntu Development

update urlopen usage

Authored by Antonio Terceiro <terceiro@debian.org> on Fri, Aug 2, 11:54 PM.

Description

update urlopen usage

The URLOpener classes from the urllib.request are deprecated in Python 3.5.
Replace them with a more modern usage of urlopen().

Note that this patch removes the special handling of HTTP 401
("Unauthorized").

Details

Committed
tsimonq2Fri, Aug 2, 11:54 PM
Pushed
tsimonq2Fri, Aug 2, 11:55 PM
Parents
rPASTEBINITab05aa431a6b: move away from deprecated platform functions
Branches
Unknown
Tags
Unknown

Event Timeline

tsimonq2 committed rPASTEBINIT004778fa13c2: update urlopen usage (authored by Antonio Terceiro <terceiro@debian.org>).Fri, Aug 2, 11:54 PM