diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-04-10 12:47:39 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-04-10 12:47:39 +0200 |
commit | e9942bddb0dd3ae67403e3ca486bea2e0f4ce954 (patch) | |
tree | 5e202204d4948d7cfd8165e5207657ac3a09c8ba /python/servo/util.py | |
parent | 53218621e934f5cb66681b22d3d91c3bbcb0d4bc (diff) | |
download | servo-e9942bddb0dd3ae67403e3ca486bea2e0f4ce954.tar.gz servo-e9942bddb0dd3ae67403e3ca486bea2e0f4ce954.zip |
Replace usage of six.moves.urllib with urllib
Also organize some of the imports. Now that Servo only uses Python 3,
this module is unnecessary. This is part of the gradual migration to
using only Python 3.
Diffstat (limited to 'python/servo/util.py')
-rw-r--r-- | python/servo/util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/servo/util.py b/python/servo/util.py index 84dd19e5208..c41cb1e1640 100644 --- a/python/servo/util.py +++ b/python/servo/util.py @@ -14,14 +14,14 @@ import os import os.path import platform import shutil -from socket import error as socket_error import stat -from io import BytesIO import sys import time +import urllib import zipfile -import six.moves.urllib as urllib +from io import BytesIO +from socket import error as socket_error try: from ssl import HAS_SNI |