Merge pull request #53925 from Anutrix/fix-unused-imports
Remove unused imports default_theme SCsub
This commit is contained in:
commit
523e0d80a8
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import shutil
|
import shutil
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ import os
|
|||||||
import platform
|
import platform
|
||||||
|
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
import sys
|
|
||||||
import winreg
|
import winreg
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ env_text_server_adv = env_modules.Clone()
|
|||||||
|
|
||||||
|
|
||||||
def make_icu_data(target, source, env):
|
def make_icu_data(target, source, env):
|
||||||
import os
|
|
||||||
|
|
||||||
dst = target[0].srcnode().abspath
|
dst = target[0].srcnode().abspath
|
||||||
|
|
||||||
@ -24,7 +23,6 @@ def make_icu_data(target, source, env):
|
|||||||
|
|
||||||
f = open(source[0].srcnode().abspath, "rb")
|
f = open(source[0].srcnode().abspath, "rb")
|
||||||
buf = f.read()
|
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 size_t U_ICUDATA_SIZE = ' + str(len(buf)) + ";\n")
|
||||||
g.write('extern "C" U_EXPORT const unsigned char U_ICUDATA_ENTRY_POINT[] = {\n')
|
g.write('extern "C" U_EXPORT const unsigned char U_ICUDATA_ENTRY_POINT[] = {\n')
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
import os
|
|
||||||
import os.path
|
|
||||||
from platform_methods import run_in_subprocess
|
from platform_methods import run_in_subprocess
|
||||||
import default_theme_builders
|
import default_theme_builders
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user