Repository: ambari
Updated Branches:
  refs/heads/trunk 74db73517 -> 28dc0e163


AMBARI-17122. Syntax error in log statement (smohanty)


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

Branch: refs/heads/trunk
Commit: 28dc0e163b33de679d00adbb2ca90edc18ac81b5
Parents: 74db735
Author: Sumit Mohanty <[email protected]>
Authored: Wed Jun 8 08:37:12 2016 -0700
Committer: Sumit Mohanty <[email protected]>
Committed: Wed Jun 8 10:02:40 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/28dc0e16/ambari-agent/src/main/python/ambari_agent/ActionQueue.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/ActionQueue.py 
b/ambari-agent/src/main/python/ambari_agent/ActionQueue.py
index fdda632..4de5390 100644
--- a/ambari-agent/src/main/python/ambari_agent/ActionQueue.py
+++ b/ambari-agent/src/main/python/ambari_agent/ActionQueue.py
@@ -441,7 +441,7 @@ class ActionQueue(threading.Thread):
       for i in range(len(chunks)):
         logger.info("Cmd log for taskId={0} and chunk {1}/{2} of log for 
command: \n".format(taskId, i+1, len(chunks)) + chunks[i])
     else:
-      logger.info("Cmd log for taskId={0}: ".format(taskId), text)
+      logger.info("Cmd log for taskId={0}: ".format(taskId) + text)
 
   def get_retry_delay(self, last_delay):
     """

Reply via email to