确定配置文件的位置 提供给自动更新
This commit is contained in:
parent
dde9a41462
commit
89bf80cb95
|
@ -248,7 +248,7 @@ class UpdateList():
|
|||
def _make_white_config(self,cache,upgrade_data):
|
||||
import configparser
|
||||
try:
|
||||
WHITE_LIST_PATH = '/tmp/example.conf'
|
||||
WHITE_LIST_PATH = OUTPUT_CONFIG_PATH + 'update-white-config.conf'
|
||||
config = configparser.ConfigParser()
|
||||
pkgs_install,pkgs_upgrade = self._make_pkgs_list(cache,upgrade_data.upgrade_groups_pkgs,upgrade_data.upgrade_groups,upgrade_data.single_pkgs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue