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
1diff --git a/qabro/__version__.py b/qabro/__version__.py
2index 019b81f..992265c 100644
3--- a/qabro/__version__.py
4+++ b/qabro/__version__.py
5@@ -1,5 +1,5 @@
6 __title__ = 'qabro'
7-__version__ = '0.10'
8+__version__ = '0.10.1'
9 __description__ = 'Tool to generate a Launchpad bug report and attach useful logs (using sosreport and the like).'
10 __author__ = 'Pierre Equoy'
11 __author_email__ = 'pierre.equoy@canonical.com'
12diff --git a/qabro/bug_assistant.py b/qabro/bug_assistant.py
13index c14bd13..209eb12 100644
14--- a/qabro/bug_assistant.py
15+++ b/qabro/bug_assistant.py
16@@ -123,14 +123,14 @@ class BugAssistant:
17 if not self.bug:
18 print('Creating Launchpad bug report...')
19 self.bug = launchpad.bugs.createBug(title=self.lp_title,
20- description=description,
21+ description=self.lp_description,
22 tags=self.lp_tags.split(),
23 target=project)
24 print('Bug report #{} created.'.format(self.bug.id))
25 else:
26 print('Updating Launchpad bug report...')
27 self.bug.title = self.lp_title
28- self.bug.description = description
29+ self.bug.description = self.lp_description
30 self.bug.tags = self.lp_tags.split()
31 self.bug.lp_save()
32

Subscribers

People subscribed via source and target branches

to all changes: