Merge lp:~allenap/launchpad/freedesktop-importance-flip-flop-bug-707478 into lp:launchpad

Proposed by Gavin Panella
Status: Merged
Approved by: Graham Binns
Approved revision: no longer in the source branch.
Merged at revision: 12279
Proposed branch: lp:~allenap/launchpad/freedesktop-importance-flip-flop-bug-707478
Merge into: lp:launchpad
Diff against target: 53 lines (+3/-11)
2 files modified
lib/lp/bugs/externalbugtracker/bugzilla.py (+3/-5)
lib/lp/bugs/scripts/checkwatches/remotebugupdater.py (+0/-6)
To merge this branch: bzr merge lp:~allenap/launchpad/freedesktop-importance-flip-flop-bug-707478
Reviewer Review Type Date Requested Status
Graham Binns (community) code Approve
Review via email: mp+47667@code.launchpad.net

Commit message

[r=gmb][ui=none][bug=707478] bugs.freedesktop.org (Bugzilla 3.4.6) has decided to take notice of the columnlist parameter we pass over.

Description of the change

For some reason bugs.freedesktop.org (Bugzilla 3.4.6) has decided to take notice of the columnlist parameter we pass over. It was incorrect, now it's not :)

To post a comment you must log in.
Revision history for this message
Graham Binns (gmb) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/bugs/externalbugtracker/bugzilla.py'
2--- lib/lp/bugs/externalbugtracker/bugzilla.py 2011-01-19 00:10:48 +0000
3+++ lib/lp/bugs/externalbugtracker/bugzilla.py 2011-01-27 15:26:48 +0000
4@@ -357,7 +357,9 @@
5 data = {
6 'form_name': 'buglist.cgi',
7 'bug_id_type': 'include',
8- 'columnlist': 'id,product,bug_status,resolution',
9+ 'columnlist':
10+ ('id,product,bug_status,resolution,'
11+ 'priority,bug_severity'),
12 'bug_id': ','.join(bug_ids),
13 }
14 if self.version < (2, 17, 1):
15@@ -469,10 +471,6 @@
16 self.remote_bug_product[bug_id] = (
17 product_node.childNodes[0].data)
18
19- def initializeRemoteImportance(self, bug_ids):
20- for bug_id in bug_ids:
21- self.remote_bug_importance[bug_id] = "NORMAL NORMAL"
22-
23 def getRemoteImportance(self, bug_id):
24 """See `ExternalBugTracker`."""
25 try:
26
27=== modified file 'lib/lp/bugs/scripts/checkwatches/remotebugupdater.py'
28--- lib/lp/bugs/scripts/checkwatches/remotebugupdater.py 2010-10-26 15:47:24 +0000
29+++ lib/lp/bugs/scripts/checkwatches/remotebugupdater.py 2011-01-27 15:26:48 +0000
30@@ -132,10 +132,6 @@
31 error = None
32 oops_id = None
33
34- # XXX: 2007-10-17 Graham Binns
35- # This nested set of try:excepts isn't really
36- # necessary and can be refactored out when bug
37- # 136391 is dealt with.
38 try:
39 new_remote_status = (
40 self.external_bugtracker.getRemoteStatus(
41@@ -179,7 +175,6 @@
42 for bug_watch in bug_watches:
43 bug_watch_updater = BugWatchUpdater(
44 self, bug_watch, self.external_bugtracker)
45-
46 bug_watch_updater.updateBugWatch(
47 new_remote_status, new_malone_status,
48 new_remote_importance, new_malone_importance)
49@@ -234,4 +229,3 @@
50 launchpad_status = BugTaskStatus.UNKNOWN
51
52 return launchpad_status
53-