You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2018/08/29 19:24:56 UTC
[ambari] branch trunk updated: AMBARI-24563. global name
'VERIFY_DEPENDENCY_CMD' is not defined' (amagyar) (#2202)
This is an automated email from the ASF dual-hosted git repository.
amagyar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 06fd55b AMBARI-24563. global name 'VERIFY_DEPENDENCY_CMD' is not defined' (amagyar) (#2202)
06fd55b is described below
commit 06fd55b88751e81a8b970bde3c815b90f04ccedd
Author: Attila Magyar <m....@gmail.com>
AuthorDate: Wed Aug 29 21:24:53 2018 +0200
AMBARI-24563. global name 'VERIFY_DEPENDENCY_CMD' is not defined' (amagyar) (#2202)
---
.../src/main/python/ambari_commons/repo_manager/apt_manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
index 2136375..0310af9 100644
--- a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
+++ b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
@@ -215,7 +215,7 @@ class AptManager(GenericManager):
pattern = re.compile("has missing dependency|E:")
if r.code or (r.out and pattern.search(r.out)):
- err_msg = Logger.filter_text("Failed to verify package dependencies. Execution of '%s' returned %s. %s" % (VERIFY_DEPENDENCY_CMD, code, out))
+ err_msg = Logger.filter_text("Failed to verify package dependencies. Execution of '%s' returned %s. %s" % (self.properties.verify_dependency_cmd, r.code, r.out))
Logger.error(err_msg)
return False