You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2018/04/13 21:27:05 UTC

[ambari] branch trunk updated: AMBARI-23583. Fix typo in apt-manager (ambari-common) (#1007)

This is an automated email from the ASF dual-hosted git repository.

oleewere 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 306aa18  AMBARI-23583. Fix typo in apt-manager (ambari-common) (#1007)
306aa18 is described below

commit 306aa18076268593177877ede7c4871ac923b663
Author: Olivér Szabó <ol...@gmail.com>
AuthorDate: Fri Apr 13 23:27:00 2018 +0200

    AMBARI-23583. Fix typo in apt-manager (ambari-common) (#1007)
---
 .../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 e05ac5f..c4b6e7d 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
@@ -198,7 +198,7 @@ class AptManager(GenericManager):
     r = shell.subprocess_executor(self.properties.verify_dependency_cmd)
     pattern = re.compile("has missing dependency|E:")
 
-    if r.code or (r.outout and pattern.search(r.out)):
+    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))
       Logger.error(err_msg)
       return False

-- 
To stop receiving notification emails like this one, please contact
oleewere@apache.org.