diff mbox

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

Message ID 1306786680-8541-1-git-send-email-herton.krzesinski@canonical.com
State New
Headers show

Commit Message

Herton Ronaldo Krzesinski May 30, 2011, 8:18 p.m. UTC
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@canonical.com>
---
 stable/create-release-tracker |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Steve Conklin June 1, 2011, 6:41 p.m. UTC | #1
Applied

On Mon, 2011-05-30 at 17:18 -0300, Herton Ronaldo Krzesinski wrote:
> 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@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
> 
>
diff mbox

Patch

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