去除无用的配置项
This commit is contained in:
parent
46a21612d5
commit
c4973e716d
|
@ -70,8 +70,6 @@ class UpdateList():
|
|||
def _empty_output_dir(self):
|
||||
try:
|
||||
#清空 升级列表
|
||||
self.parent.configs.setValue("AutoUpgrade","upgradelist",'',True)
|
||||
|
||||
if not os.path.exists(self.OUTPUT_CONFIG_PATH):
|
||||
os.makedirs(self.OUTPUT_CONFIG_PATH)
|
||||
logging.info('making the ConfigPath(%s) is complete...',self.OUTPUT_CONFIG_PATH)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# UpdateManager.py
|
||||
# -*- Mode: Python; indent-tabs-mode: nil; tab-width: 4; coding: utf-8 -*-
|
||||
from email.header import Header
|
||||
import os
|
||||
import subprocess
|
||||
from apt import Cache
|
||||
|
|
Loading…
Reference in New Issue