HomeLubuntu Development

update urlopen usage

Authored by Antonio Terceiro <terceiro@debian.org> on Aug 2 2019, 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
tsimonq2Aug 2 2019, 11:54 PM
Pushed
tsimonq2Aug 2 2019, 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>).Aug 2 2019, 11:54 PM