Merge ~pieq/bugit/+git/qabro:hotfix-missing-description into bugit:master

Proposed by Pierre Equoy
Status: Merged
Approved by: Pierre Equoy
Approved revision: 69f925d6a7225cb8a9c9f2531de04430a9c7cd1c
Merged at revision: 372c511cf8809f895899d9d51007439778054b8f
Proposed branch: ~pieq/bugit/+git/qabro:hotfix-missing-description
Merge into: bugit:master
Diff against target: 31 lines (+3/-3)
2 files modified
qabro/__version__.py (+1/-1)
qabro/bug_assistant.py (+2/-2)
Reviewer Review Type Date Requested Status
Pierre Equoy Approve
Review via email: mp+368171@code.launchpad.net

Description of the change

This issue was discovered by Betty.

I fixed it and ran a few local tests successfully.

To post a comment you must log in.
Revision history for this message
Pierre Equoy (pieq) wrote :

Self-approve. I will push this to --edge to run further tests

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/qabro/__version__.py b/qabro/__version__.py
index 019b81f..992265c 100644
--- a/qabro/__version__.py
+++ b/qabro/__version__.py
@@ -1,5 +1,5 @@
1__title__ = 'qabro'1__title__ = 'qabro'
2__version__ = '0.10'2__version__ = '0.10.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'
diff --git a/qabro/bug_assistant.py b/qabro/bug_assistant.py
index c14bd13..209eb12 100644
--- a/qabro/bug_assistant.py
+++ b/qabro/bug_assistant.py
@@ -123,14 +123,14 @@ class BugAssistant:
123 if not self.bug:123 if not self.bug:
124 print('Creating Launchpad bug report...')124 print('Creating Launchpad bug report...')
125 self.bug = launchpad.bugs.createBug(title=self.lp_title,125 self.bug = launchpad.bugs.createBug(title=self.lp_title,
126 description=description,126 description=self.lp_description,
127 tags=self.lp_tags.split(),127 tags=self.lp_tags.split(),
128 target=project)128 target=project)
129 print('Bug report #{} created.'.format(self.bug.id))129 print('Bug report #{} created.'.format(self.bug.id))
130 else:130 else:
131 print('Updating Launchpad bug report...')131 print('Updating Launchpad bug report...')
132 self.bug.title = self.lp_title132 self.bug.title = self.lp_title
133 self.bug.description = description133 self.bug.description = self.lp_description
134 self.bug.tags = self.lp_tags.split()134 self.bug.tags = self.lp_tags.split()
135 self.bug.lp_save()135 self.bug.lp_save()
136136

Subscribers

People subscribed via source and target branches

to all changes: