diff options
-rw-r--r-- | etc/ci/chaos_monkey_test.py | 2 | ||||
-rw-r--r-- | etc/ci/check_dynamic_symbols.py | 2 | ||||
-rwxr-xr-x | mach | 2 | ||||
-rw-r--r-- | python/mach_bootstrap.py | 2 | ||||
-rw-r--r-- | python/servo/bootstrap_commands.py | 2 | ||||
-rw-r--r-- | python/servo/build_commands.py | 2 | ||||
-rw-r--r-- | python/servo/command_base.py | 2 | ||||
-rw-r--r-- | python/servo/devenv_commands.py | 1 | ||||
-rw-r--r-- | python/servo/mutation/mutator.py | 2 | ||||
-rw-r--r-- | python/servo/package_commands.py | 2 | ||||
-rw-r--r-- | python/servo/post_build_commands.py | 2 | ||||
-rw-r--r-- | python/servo/testing_commands.py | 2 | ||||
-rw-r--r-- | python/servo/util.py | 2 | ||||
-rwxr-xr-x | tests/jquery/run_jquery.py | 2 | ||||
-rwxr-xr-x | tests/power/PowerMeasure.py | 2 |
15 files changed, 1 insertions, 28 deletions
diff --git a/etc/ci/chaos_monkey_test.py b/etc/ci/chaos_monkey_test.py index 124ecea1fbe..1a683dc905f 100644 --- a/etc/ci/chaos_monkey_test.py +++ b/etc/ci/chaos_monkey_test.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 - import json import sys from subprocess import Popen, PIPE diff --git a/etc/ci/check_dynamic_symbols.py b/etc/ci/check_dynamic_symbols.py index 9e2d8aad060..fd9bb3114e0 100644 --- a/etc/ci/check_dynamic_symbols.py +++ b/etc/ci/check_dynamic_symbols.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 - import os import re import subprocess @@ -9,8 +9,6 @@ ''':' && if [ ! -z "$MSYSTEM" ] ; then exec python "$0" "$@" ; else which python3 > /dev/null 2> /dev/null && exec python3 "$0" "$@" || exec python "$0" "$@" ; fi ''' -from __future__ import print_function, unicode_literals - import os import sys diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py index df71cb838d6..c8085315219 100644 --- a/python/mach_bootstrap.py +++ b/python/mach_bootstrap.py @@ -2,8 +2,6 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at https://mozilla.org/MPL/2.0/. -from __future__ import print_function, unicode_literals - import os import platform import sys 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 diff --git a/tests/jquery/run_jquery.py b/tests/jquery/run_jquery.py index 2aae840ac75..6f67036694f 100755 --- a/tests/jquery/run_jquery.py +++ b/tests/jquery/run_jquery.py @@ -4,8 +4,6 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at https://mozilla.org/MPL/2.0/. -from __future__ import absolute_import -from __future__ import print_function import os import re import subprocess diff --git a/tests/power/PowerMeasure.py b/tests/power/PowerMeasure.py index 83b177bc618..5dc4ff9e886 100755 --- a/tests/power/PowerMeasure.py +++ b/tests/power/PowerMeasure.py @@ -12,8 +12,6 @@ # Do not forget to run the script in servo/tests/power folder # --------------------------------------------------------# -from __future__ import print_function, unicode_literals - import os from os import path import time |