[Bug 79247] Re: bughelper fails when processing ubiquity

Daniel Holbach daniel.holbach at ubuntu.com
Mon Jan 15 16:40:01 UTC 2007


The regular expression was wrong indeed and it was a simple fix (using the non-greedy matching):
-            titleFilter = '<title>Bug #[0-9]* in (.*) .*: .*'
+            titleFilter = '<title>Bug #[0-9]* in (.*?) .*: .*'

I found some other bugs related to reading and evaluating the clue
files. Some might be related to the change from python2.4 to python2.5
(?).

If somebody can tell me, why I need to do the following check in infoFiles.py, I'd be happy to chuck it out again, it looks like a hack to me:
        if type(condition) == types.TupleType:
[....]

I committed the change to my bzr branch - somebody please review and
merge into ~bugsquad/bughelper/bughelper.main

Output is now:
daniel at bert:~/bzr/bughelper$ ./bughelper -l https://launchpad.net/distros/ubuntu/+source/ubiquity/+bugs
I/O warning : failed to load external entity "packages/linux-source-2.6.15.info"
I/O warning : failed to load external entity "packages/casper.info"
daniel at bert:~/bzr/bughelper$ 


** Changed in: bughelper (upstream)
       Status: Confirmed => Fix Committed

-- 
bughelper fails when processing ubiquity
https://launchpad.net/bugs/79247




More information about the Ubuntu-bugsquad mailing list