Merge lp:~cjwatson/python-launchpad-bugs/ignore-activity-body into lp:python-launchpad-bugs

Proposed by Colin Watson
Status: Merged
Merged at revision: not available
Proposed branch: lp:~cjwatson/python-launchpad-bugs/ignore-activity-body
Merge into: lp:python-launchpad-bugs
Diff against target: None lines
To merge this branch: bzr merge lp:~cjwatson/python-launchpad-bugs/ignore-activity-body
Reviewer Review Type Date Requested Status
Markus Korn Approve
Review via email: mp+5074@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Markus Korn (thekorn) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-03-12 23:18:16 +0000
3+++ debian/changelog 2009-03-31 17:17:36 +0000
4@@ -1,3 +1,9 @@
5+python-launchpad-bugs (0.3.6) UNRELEASED; urgency=low
6+
7+ * Ignore quasi-comments containing activity log information (LP: #352543).
8+
9+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 31 Mar 2009 18:13:15 +0100
10+
11 python-launchpad-bugs (0.3.5) jaunty; urgency=low
12
13 [ Martin Pitt ]
14
15=== modified file 'launchpadbugs/html_bug.py'
16--- launchpadbugs/html_bug.py 2009-03-12 12:56:25 +0000
17+++ launchpadbugs/html_bug.py 2009-03-31 17:17:36 +0000
18@@ -762,6 +762,9 @@
19
20 def parse(self):
21 for com in self.__xml:
22+ if com.xpathEval('div[@class="boardBugActivityBody"]'):
23+ continue
24+
25 m = com.xpathEval('div[@class="boardCommentDetails"]/a[1]')
26 parse_error(m, "Comments.user", xml=self.__xml, url=self.__url)
27 com_user = user.parse_html_user(m[0])

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: