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 /modules | |
parent | b6ee9ed8c52883084054223a370fd3ef3c3c733b (diff) | |
parent | a4b736658e4b1f8e512e262f6f8cacb943e78289 (diff) |
Merge pull request #53925 from Anutrix/fix-unused-imports
Remove unused imports default_theme SCsub
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/build_scripts/mono_reg_utils.py | 1 | ||||
-rw-r--r-- | modules/text_server_adv/SCsub | 2 |
2 files changed, 0 insertions, 3 deletions
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') |