You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/05/03 19:32:09 UTC

git commit: AMBARI-5649. Add postgres external as separate option in ambari-server.py. Attribute Error fix. (swagle)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.0 34895e894 -> 170fe9b04


AMBARI-5649. Add postgres external as separate option in ambari-server.py. Attribute Error fix. (swagle)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/170fe9b0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/170fe9b0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/170fe9b0

Branch: refs/heads/branch-1.6.0
Commit: 170fe9b040f1b74bc5f4f16e08a9208de10bae4f
Parents: 34895e8
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Sat May 3 10:05:43 2014 -0700
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Sat May 3 10:05:43 2014 -0700

----------------------------------------------------------------------
 ambari-server/src/main/python/ambari-server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/170fe9b0/ambari-server/src/main/python/ambari-server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari-server.py b/ambari-server/src/main/python/ambari-server.py
index 0f08f84..ad2d11e 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -2065,7 +2065,7 @@ def find_jdk():
 # Checks if options determine local DB configuration
 #
 def is_local_database(args):
-  return args.persistence_type == 'local'
+  return hasattr(args, 'persistence_type') and args.persistence_type == 'local'
 
 
 #Check if required jdbc drivers present