Remove unused imports in .py, SCsub and SConstruct files

This commit is contained in:
Anutrix 2021-10-17 16:35:36 +05:30
parent 5bf01654d7
commit a4b736658e
4 changed files with 0 additions and 6 deletions

View File

@ -2,7 +2,6 @@
import argparse
import os
import re
import shutil
from collections import OrderedDict

View File

@ -2,7 +2,6 @@ import os
import platform
if os.name == "nt":
import sys
import winreg

View File

@ -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')

View File

@ -2,8 +2,6 @@
Import("env")
import os
import os.path
from platform_methods import run_in_subprocess
import default_theme_builders