summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAnutrix <numaanzaheerahmed@yahoo.com>2021-10-17 16:35:36 +0530
committerAnutrix <numaanzaheerahmed@yahoo.com>2021-10-18 01:50:34 +0530
commita4b736658e4b1f8e512e262f6f8cacb943e78289 (patch)
treea7605d0336c3ca02c77425c0d7a106dd697696f1 /modules
parent5bf01654d75f9493fba6761c9c360fef3019f082 (diff)
Remove unused imports in .py, SCsub and SConstruct files
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/build_scripts/mono_reg_utils.py1
-rw-r--r--modules/text_server_adv/SCsub2
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')