diff options
author | bors-servo <infra@servo.org> | 2023-04-10 21:03:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 21:03:33 +0200 |
commit | d579bd91b8e82606907dd789f13f6ecaee6a9b18 (patch) | |
tree | 3dc7a8736130191a0487f3558ba9fd98f9904b5e /python/servo/bootstrap_commands.py | |
parent | f28f68eb251be132f237318a05d4e8bc98db69ce (diff) | |
parent | e9942bddb0dd3ae67403e3ca486bea2e0f4ce954 (diff) | |
download | servo-d579bd91b8e82606907dd789f13f6ecaee6a9b18.tar.gz servo-d579bd91b8e82606907dd789f13f6ecaee6a9b18.zip |
Auto merge of #29608 - mrobinson:six.moves.urllib, r=mukilan
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.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they do not change behavior.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r-- | python/servo/bootstrap_commands.py | 4 |
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, |