Skip to content

Commit

Permalink
Remove unused imports in .py, SCsub and SConstruct files
Browse files Browse the repository at this point in the history
  • Loading branch information
Anutrix committed Oct 17, 2021
1 parent 5bf0165 commit a4b7366
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion doc/translations/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import argparse
import os
import re
import shutil
from collections import OrderedDict

Expand Down
1 change: 0 additions & 1 deletion modules/mono/build_scripts/mono_reg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import platform

if os.name == "nt":
import sys
import winreg


Expand Down
2 changes: 0 additions & 2 deletions modules/text_server_adv/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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')
Expand Down
2 changes: 0 additions & 2 deletions scene/resources/default_theme/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

Import("env")

import os
import os.path
from platform_methods import run_in_subprocess
import default_theme_builders

Expand Down

0 comments on commit a4b7366

Please sign in to comment.