aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/bootstrap_commands.py2
-rw-r--r--python/servo/build_commands.py2
-rw-r--r--python/servo/command_base.py2
-rw-r--r--python/servo/devenv_commands.py1
-rw-r--r--python/servo/mutation/mutator.py2
-rw-r--r--python/servo/package_commands.py2
-rw-r--r--python/servo/post_build_commands.py2
-rw-r--r--python/servo/testing_commands.py2
-rw-r--r--python/servo/util.py2
9 files changed, 1 insertions, 16 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index b5b833d1e2d..1c7afc957d8 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import absolute_import, print_function, unicode_literals
-
import base64
import glob
import json
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index d354ca02df4..cd977dfe91d 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import print_function, unicode_literals
-
import datetime
import locale
import os
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 752cdda4474..c8de5a8ca61 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -7,7 +7,7 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import print_function, annotations
+from __future__ import annotations
import contextlib
from enum import Enum
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index 0ce5c7da6f0..dd4009fe8c2 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -7,7 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import print_function, unicode_literals
from os import path, listdir, getcwd
import signal
diff --git a/python/servo/mutation/mutator.py b/python/servo/mutation/mutator.py
index 0f359cb5107..137f0d13e45 100644
--- a/python/servo/mutation/mutator.py
+++ b/python/servo/mutation/mutator.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import print_function
-
import fileinput
import re
import random
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index bc93f7e4200..62ae60f5fa6 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import absolute_import, print_function, unicode_literals
-
from datetime import datetime
from github import Github
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index cb7ea7a63bb..56394bbb3e3 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import print_function, unicode_literals
-
import json
import os
import os.path as path
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 2dc432a51ee..0d9b0818929 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import print_function, unicode_literals
-
import argparse
import logging
import re
diff --git a/python/servo/util.py b/python/servo/util.py
index fb1efcf382d..f6b430a8f26 100644
--- a/python/servo/util.py
+++ b/python/servo/util.py
@@ -7,8 +7,6 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
-from __future__ import absolute_import, print_function, unicode_literals
-
import hashlib
import os
import os.path