aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-04-10 12:47:39 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-04-10 12:47:39 +0200
commite9942bddb0dd3ae67403e3ca486bea2e0f4ce954 (patch)
tree5e202204d4948d7cfd8165e5207657ac3a09c8ba /python/servo/build_commands.py
parent53218621e934f5cb66681b22d3d91c3bbcb0d4bc (diff)
downloadservo-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/build_commands.py')
-rw-r--r--python/servo/build_commands.py4
1 files changed, 2 insertions, 2 deletions
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