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/build_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/servo/build_commands.py') diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index a3875e2c679..1a9ee339b1a 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -15,11 +15,11 @@ import os import os.path as path import platform import shutil +import stat import subprocess import sys -import six.moves.urllib as urllib +import urllib import zipfile -import stat from time import time -- cgit v1.2.3