Author: nunofsantos
Date: 2008-09-16 11:13:05 -0400 (Tue, 16 Sep 2008)
New Revision: 2478
Modified:
mgmt/trunk/mint/python/mint/update.py
Log:
bz 461953: args was being shadowed in this scope
Modified: mgmt/trunk/mint/python/mint/update.py
===================================================================
--- mgmt/trunk/mint/python/mint/update.py 2008-09-16 14:27:20 UTC (rev 2477)
+++ mgmt/trunk/mint/python/mint/update.py 2008-09-16 15:13:05 UTC (rev 2478)
@@ -270,14 +270,14 @@
self.args = args
def process(self, model):
- args = ("method", self.conn.id, self.methodId, self.errorCode,
+ logArgs = ("method", self.conn.id, self.methodId, self.errorCode,
self.errorText)
- log.info("Processing %-8s %-16s %-12s %-12s %s" % args)
+ log.info("Processing %-8s %-16s %-12s %-12s %s" % logArgs)
model.lock()
try:
method = model.outstandingMethodCalls.pop(self.methodId)
- method(self.errorText, args)
+ method(self.errorText, self.args)
finally:
model.unlock()
Show replies by date