This commit is contained in:
parent
43ce03caa9
commit
7b04a901dc
|
@ -1,6 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from types import coroutine
|
||||
import apt
|
||||
import apt_pkg
|
||||
import fnmatch
|
||||
|
@ -13,22 +11,13 @@ import string
|
|||
import subprocess
|
||||
import json
|
||||
try:
|
||||
from typing import AbstractSet, DefaultDict, Dict, Iterable, List
|
||||
# AbstractSet # pyflakes
|
||||
# DefaultDict # pyflakes
|
||||
# Dict # pyflakes
|
||||
# Iterable # pyflakes
|
||||
# List # pyflakes
|
||||
from typing import Set, Tuple, Union
|
||||
# Set # pyflakes
|
||||
# Tuple # pyflakes
|
||||
from typing import List
|
||||
from typing import Union
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
from gettext import gettext as _
|
||||
|
||||
import apt
|
||||
import apt_pkg
|
||||
SYSTEM_UPDATER_CORE_LIB_PATH="/usr/share/kylin-system-updater/"
|
||||
sys.path.append(SYSTEM_UPDATER_CORE_LIB_PATH)
|
||||
from SystemUpdater.Core.utils import get_config_patch
|
||||
|
|
|
@ -11,5 +11,5 @@ formats = bztar
|
|||
[nosetests]
|
||||
match=test
|
||||
|
||||
[install]
|
||||
skip-build=0
|
||||
# [install]
|
||||
# skip-build=0
|
||||
|
|
Loading…
Reference in New Issue