incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r1214081 - /incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py
Date Wed, 14 Dec 2011 07:38:52 GMT
Author: ddas
Date: Wed Dec 14 07:38:52 2011
New Revision: 1214081

URL: http://svn.apache.org/viewvc?rev=1214081&view=rev
Log:
AMBARI-157. Bug fixes

Modified:
    incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py

Modified: incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py?rev=1214081&r1=1214080&r2=1214081&view=diff
==============================================================================
--- incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py (original)
+++ incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py Wed Dec 14 07:38:52
2011
@@ -172,6 +172,7 @@ class ActionQueue(threading.Thread):
       filepath = getFilePath(action,self.getInstallFilename(action['id'])) 
       logger.debug("FILEPATH : " + filepath)
       p = self.sh.run(['/bin/cat',AmbariConfig.config.get('puppet','driver')])
+      r={}
       if p['exitCode']!=0:
         commandResult['error'] = p['error']
         commandResult['exitCode'] = p['exitCode']



Mime
View raw message