From e9942bddb0dd3ae67403e3ca486bea2e0f4ce954 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Mon, 10 Apr 2023 12:47:39 +0200 Subject: 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. --- python/servo/util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/servo/util.py') 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 -- cgit v1.2.3