diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-18 07:56:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 07:56:36 +0200 |
commit | 523e0d80a8118c933dc2fb747874526cd72e1f92 (patch) | |
tree | 6c5cceb91f57c2725e27751cea8fae3af535f355 | |
parent | b6ee9ed8c52883084054223a370fd3ef3c3c733b (diff) | |
parent | a4b736658e4b1f8e512e262f6f8cacb943e78289 (diff) |
Merge pull request #53925 from Anutrix/fix-unused-imports
Remove unused imports default_theme SCsub
-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 |