增加错误项
This commit is contained in:
parent
d293d1f885
commit
bd77c9d111
|
@ -346,6 +346,7 @@ class UpdateManager():
|
|||
except SystemError:
|
||||
self.simulate_mode.thread_install([pkg_name])
|
||||
logging.error("Check: mark %s to upgrade Failed...",pkg_name)
|
||||
raise UpdateBaseError(ERROR_NOT_CONFIGPKG_DEPENDENCIES)
|
||||
else:
|
||||
logging.info("Check: ConfigPkgs(%s:%s) No need to upgrade...",self.GROUPS_PKG_NAME,pkg_json.installed.source_version)
|
||||
else:
|
||||
|
@ -357,8 +358,8 @@ class UpdateManager():
|
|||
need_upgrade = True
|
||||
except SystemError:
|
||||
self.simulate_mode.thread_install([pkg_name])
|
||||
logging.error("Check: mark %s to upgrade Failed...",pkg_name)
|
||||
raise UpdateBaseError(ERROR_NOT_GROUPS_CONFIG)
|
||||
logging.error("Check: mark %s to install Failed...",pkg_name)
|
||||
raise UpdateBaseError(ERROR_NOT_CONFIGPKG_DEPENDENCIES)
|
||||
else:
|
||||
raise UpdateBaseError(ERROR_NOT_GROUPS_CONFIG)
|
||||
|
||||
|
|
Loading…
Reference in New Issue