aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_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/bootstrap_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/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 904f5da109e..aac03c8d645 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -10,6 +10,7 @@
from __future__ import absolute_import, print_function, unicode_literals
import base64
+import glob
import json
import os
import os.path as path
@@ -18,8 +19,7 @@ import re
import subprocess
import sys
import traceback
-import six.moves.urllib as urllib
-import glob
+import urllib
from mach.decorators import (
CommandArgument,