Comment 4 for bug 123933

Revision history for this message
Markus Korn (thekorn) wrote :

To avoid parsing bug pages twice when using the 'upstream' option and to fix this issue we should commit this patch to 'main'.

Example:
bl1 = BugList(_Struct(url = 'https://bugs.launchpad.net/ubuntu/+source/bughelper/+bugs', upstream = None, tag=None, minbug = None, filterbug = None, status = '', importance = '', closed_bugs=None, duplicates = None, lastcomment = None)).bugs

bl2 = BugList(_Struct(url = 'https://bugs.launchpad.net/ubuntu/+source/bughelper/+bugs', upstream = None, tag=None, minbug = None, filterbug = None, status = '', importance = '', closed_bugs=None, duplicates = None, lastcomment = None)).bugs

print bl1
#set([88521, 88102])

print bl2
#set([88521, 88102])

print bl1 | bl2
#set([88521, 88102])

This is basically the solution from 'api.changes.gsoc'

Markus