You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dd...@apache.org on 2011/12/14 08:38:52 UTC

svn commit: r1214081 - /incubator/ambari/trunk/agent/src/main/python/ambari_agent/ActionQueue.py

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']