You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2014/02/20 21:00:21 UTC

[2/2] git commit: AMBARI-4769. Typo at config_dictionary.py (dlysnichenko)

AMBARI-4769. Typo at config_dictionary.py (dlysnichenko)


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

Branch: refs/heads/trunk
Commit: b03fe24a6fe6939768bcd08334584318f40ad941
Parents: b0b27c3
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Thu Feb 20 21:59:07 2014 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Thu Feb 20 21:59:07 2014 +0200

----------------------------------------------------------------------
 .../resource_management/libraries/script/config_dictionary.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b03fe24a/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py b/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py
index 9f7e2ce..ab94d60 100644
--- a/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py
+++ b/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py
@@ -55,7 +55,7 @@ class ConfigDictionary(dict):
     else: 
       try:
         value = int(value)
-      exce  pt (ValueError, TypeError):
+      except (ValueError, TypeError):
         try:
           value =  float(value)
         except (ValueError, TypeError):