This commit is contained in:
Luoxueyi 2022-09-15 15:31:34 +08:00
parent 43ce03caa9
commit 7b04a901dc
2 changed files with 4 additions and 15 deletions

View File

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

View File

@ -11,5 +11,5 @@ formats = bztar
[nosetests]
match=test
[install]
skip-build=0
# [install]
# skip-build=0