diff --git a/ChangeLog b/ChangeLog index e5783d83c..9a9d88b9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ parents in case the toolbar is not visible. 2006-12-01 Alex Roitman + * src/Filters/Rules/_HasEventBase.py (apply): Do not match empty + places. * src/plugins/Rebuild.py (__init__): Proper progress indication. * src/ArgHandler.py (cl_action): Properly call CLI tool. * src/plugins/DumpGenderStats.py (__init__): Fix CLI mode. diff --git a/src/Filters/Rules/_HasEventBase.py b/src/Filters/Rules/_HasEventBase.py index 55b6d6a86..2453563b2 100644 --- a/src/Filters/Rules/_HasEventBase.py +++ b/src/Filters/Rules/_HasEventBase.py @@ -43,7 +43,7 @@ from Filters.Rules._RuleUtils import loose_date_cmp # #------------------------------------------------------------------------- class HasEventBase(Rule): - """Rule that checks for a person with a particular value""" + """Rule that checks for an event with a particular value""" labels = [ _('Event type:'), @@ -84,4 +84,6 @@ class HasEventBase(Rule): pn = pl.get_title() if pn.upper().find(self.list[2].upper()) == -1: return False + else: + return False return True