[PATCH][[kteam-tools] stable/create-release-tracker: fix wrong variable used in error message

Herton Ronaldo Krzesinski herton.krzesinski at canonical.com
Mon May 30 20:18:00 UTC 2011


Invalid task names were being printed in the case an workflow task was
found without automatic assignee.

Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski at canonical.com>
---
 stable/create-release-tracker |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/stable/create-release-tracker b/stable/create-release-tracker
index fb55320..d188573 100755
--- a/stable/create-release-tracker
+++ b/stable/create-release-tracker
@@ -238,7 +238,7 @@ class CreateTrackingBug(StdApp):
                     if task in taskAssignments:
                         t.assignee = self.lp.launchpad.people[taskAssignments[task]]
                     else:
-                        print 'Warning: Found a workflow task named %s with no automatic assignee, leaving unassigned' % s.name
+                        print 'Warning: Found a workflow task named %s with no automatic assignee, leaving unassigned' % task
 
             #-------------------------------------------------------------------------------------
             # C H A N G E L O G   W O R K
-- 
1.7.4.1





More information about the kernel-team mailing list