修复代码异常
This commit is contained in:
parent
2275aa4b4e
commit
b6454ff7a9
|
@ -158,7 +158,7 @@ class UpdateManager():
|
|||
logging.info("Generate Jsonfile(%s) to complete... ",output_config_name)
|
||||
except Exception as e:
|
||||
logging.error(e)
|
||||
def _check_conf_dir():
|
||||
def _check_conf_dir(self):
|
||||
# 检查var配置目录是否存在 不存在时进行创建
|
||||
VAR_CONFG_DIR = '/var/lib/kylin-system-updater'
|
||||
if not os.path.exists(VAR_CONFG_DIR):
|
||||
|
|
Loading…
Reference in New Issue