Merge ~pieq/bugit/+git/qabro:fix-auto-fwts into bugit:master

Proposed by Pierre Equoy
Status: Merged
Approved by: Pierre Equoy
Approved revision: 9434a64542946e4e24d02276a3ee3b46a9dcf0db
Merged at revision: fc1db3d7fc585f9ef923c277432426023eb636b8
Proposed branch: ~pieq/bugit/+git/qabro:fix-auto-fwts
Merge into: bugit:master
Diff against target: 24 lines (+2/-2)
2 files modified
qabro/__init__.py (+1/-1)
qabro/__version__.py (+1/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+375323@code.launchpad.net

Description of the change

Fixes an issue found by Gabriel when using the --fwts auto submission.

Tested like this:

$ APPORT_LAUNCHPAD_INSTANCE=staging qabro

# File a bug, submit, make sure everything works as expected

$ APPORT_LAUNCHPAD_INSTANCE=staging qabro --fwts -p sutton -t test-platform

# Make sure the bug is created, assigned to the right series with the proper tag

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/qabro/__init__.py b/qabro/__init__.py
index 85920c0..a442880 100644
--- a/qabro/__init__.py
+++ b/qabro/__init__.py
@@ -52,7 +52,7 @@ def main():
52 sys.exit("You must specify a project name, e.g -p somerville")52 sys.exit("You must specify a project name, e.g -p somerville")
53 if not args.tags:53 if not args.tags:
54 sys.exit("You must specify a platform tag, e.g. -t platform-tag-3")54 sys.exit("You must specify a platform tag, e.g. -t platform-tag-3")
55 auto_submit_fwts_report(project, tags)55 auto_submit_fwts_report(args.project, args.tags)
56 else:56 else:
57 start_ui(project=args.project, tags=args.tags)57 start_ui(project=args.project, tags=args.tags)
5858
diff --git a/qabro/__version__.py b/qabro/__version__.py
index a87ead8..4a12dd6 100644
--- a/qabro/__version__.py
+++ b/qabro/__version__.py
@@ -1,5 +1,5 @@
1__title__ = 'qabro'1__title__ = 'qabro'
2__version__ = '0.11'2__version__ = '0.11.1'
3__description__ = 'Tool to generate a Launchpad bug report and attach useful logs (using sosreport and the like).'3__description__ = 'Tool to generate a Launchpad bug report and attach useful logs (using sosreport and the like).'
4__author__ = 'Pierre Equoy'4__author__ = 'Pierre Equoy'
5__author_email__ = 'pierre.equoy@canonical.com'5__author_email__ = 'pierre.equoy@canonical.com'

Subscribers

People subscribed via source and target branches

to all changes: