[Bug 80226] Re: bughelper crashes on ubiquity [daniel's branch]

Daniel Holbach daniel.holbach at ubuntu.com
Wed Jan 17 12:17:55 UTC 2007


Fixed by:

=== modified file 'bugHelper/infoFiles.py'
--- bugHelper/infoFiles.py	2007-01-16 11:57:57 +0000
+++ bugHelper/infoFiles.py	2007-01-17 12:11:53 +0000
@@ -43,12 +43,12 @@
             return cond.not_cond != \
                    (text.count(cond.simple_cond)>0)
         
-        if len(cond.and_cond):
+	if cond.and_cond:
             return len(cond.and_cond) == \
                 [self.condition_matches(n, text) \
                     for n in cond.and_cond].count(True)
             
-        if len(cond.or_cond):
+        if cond.or_cond:
             return [self.condition_matches(n, text) \
                 for n in cond.or_cond].count(True)
         


Thanks Vassilis, committed to ~bugsquad/bughelper/bughelper.main

** Changed in: bughelper (upstream)
     Assignee: (unassigned) => Daniel Holbach
       Status: Needs Info => Fix Released

-- 
bughelper crashes on ubiquity [daniel's branch]
https://launchpad.net/bugs/80226




More information about the Ubuntu-bugsquad mailing list