去除无用的配置项

This commit is contained in:
wangsong 2022-06-10 14:38:59 +08:00
parent 46a21612d5
commit c4973e716d
2 changed files with 0 additions and 3 deletions

View File

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

View File

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