diff options
-rw-r--r-- | doc/translations/extract.py | 1 | ||||
-rw-r--r-- | modules/mono/build_scripts/mono_reg_utils.py | 1 | ||||
-rw-r--r-- | modules/text_server_adv/SCsub | 2 | ||||
-rw-r--r-- | scene/resources/default_theme/SCsub | 2 |
4 files changed, 0 insertions, 6 deletions
diff --git a/doc/translations/extract.py b/doc/translations/extract.py index a2bc5e37ec..a13680a613 100644 --- a/doc/translations/extract.py +++ b/doc/translations/extract.py @@ -2,7 +2,6 @@ import argparse import os -import re import shutil from collections import OrderedDict diff --git a/modules/mono/build_scripts/mono_reg_utils.py b/modules/mono/build_scripts/mono_reg_utils.py index 0ec7e2f433..93a66ebf6f 100644 --- a/modules/mono/build_scripts/mono_reg_utils.py +++ b/modules/mono/build_scripts/mono_reg_utils.py @@ -2,7 +2,6 @@ import os import platform if os.name == "nt": - import sys import winreg diff --git a/modules/text_server_adv/SCsub b/modules/text_server_adv/SCsub index 7cd4db6f67..68d1af84df 100644 --- a/modules/text_server_adv/SCsub +++ b/modules/text_server_adv/SCsub @@ -7,7 +7,6 @@ env_text_server_adv = env_modules.Clone() def make_icu_data(target, source, env): - import os dst = target[0].srcnode().abspath @@ -24,7 +23,6 @@ def make_icu_data(target, source, env): f = open(source[0].srcnode().abspath, "rb") buf = f.read() - import os.path g.write('extern "C" U_EXPORT const size_t U_ICUDATA_SIZE = ' + str(len(buf)) + ";\n") g.write('extern "C" U_EXPORT const unsigned char U_ICUDATA_ENTRY_POINT[] = {\n') diff --git a/scene/resources/default_theme/SCsub b/scene/resources/default_theme/SCsub index 0fb6bb2c62..3667ab7c14 100644 --- a/scene/resources/default_theme/SCsub +++ b/scene/resources/default_theme/SCsub @@ -2,8 +2,6 @@ Import("env") -import os -import os.path from platform_methods import run_in_subprocess import default_theme_builders |