Merge lp:~brendan-donegan/checkbox/bug1314516_plainbox into lp:checkbox

Proposed by Brendan Donegan
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 2982
Merged at revision: 2984
Proposed branch: lp:~brendan-donegan/checkbox/bug1314516_plainbox
Merge into: lp:checkbox
Diff against target: 12 lines (+1/-1)
1 file modified
plainbox/plainbox/impl/commands/run.py (+1/-1)
To merge this branch: bzr merge lp:~brendan-donegan/checkbox/bug1314516_plainbox
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Brendan Donegan (community) Needs Resubmitting
Review via email: mp+218809@code.launchpad.net

Description of the change

Really simple - use summary instead of id for displaying jobs during the run command.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Perhaps tr_summary() ?

review: Needs Fixing
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Why the question mark? Do you think I need to fix the other 'fixes' i did for GUI and CLI? I completely forgot about tr summary

2982. By Brendan Donegan

plainbox: Show summary instead of id for jobs during run command

Signed-off-by: Brendan Donegan <email address hidden>

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

updated to use tr_summary(). still wondering about the other merges

review: Needs Resubmitting
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1

The question mark was just to subtly imply that I wanted that change. Thanks :-)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plainbox/plainbox/impl/commands/run.py'
2--- plainbox/plainbox/impl/commands/run.py 2014-05-04 14:31:36 +0000
3+++ plainbox/plainbox/impl/commands/run.py 2014-05-09 12:49:09 +0000
4@@ -447,7 +447,7 @@
5 self.run_single_job(job)
6
7 def run_single_job(self, job):
8- print("[ {} ]".format(job.id).center(80, '-'))
9+ print("[ {} ]".format(job.tr_summary()).center(80, '-'))
10 description = job.tr_description()
11 if description is not None:
12 print(description)

Subscribers

People subscribed via source and target branches