Skip to content

Commit 4d7edd0

Browse files
fix: remove deprecated and unused from urllib import FancyURLopener import (#743)
1 parent 4f90780 commit 4d7edd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydal/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def to_native(obj, charset="utf8", errors="strict"):
111111
from urllib.parse import unquote
112112
from urllib.parse import unquote as urllib_unquote
113113
from urllib.parse import urlencode
114-
from urllib.request import FancyURLopener, urlopen
114+
from urllib.request import urlopen
115115
from xmlrpc.client import ProtocolError
116116

117117
hashlib_md5 = lambda s: hashlib.md5(bytes(s, "utf8"))

0 commit comments

Comments
 (0)