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/bootstrap_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/servo/bootstrap_commands.py') 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, -- cgit v1.2.3