* src/Filters/Rules/_HasEventBase.py (apply): Do not match empty
places. svn: r7744
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
parents in case the toolbar is not visible.
|
parents in case the toolbar is not visible.
|
||||||
|
|
||||||
2006-12-01 Alex Roitman <shura@gramps-project.org>
|
2006-12-01 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/Filters/Rules/_HasEventBase.py (apply): Do not match empty
|
||||||
|
places.
|
||||||
* src/plugins/Rebuild.py (__init__): Proper progress indication.
|
* src/plugins/Rebuild.py (__init__): Proper progress indication.
|
||||||
* src/ArgHandler.py (cl_action): Properly call CLI tool.
|
* src/ArgHandler.py (cl_action): Properly call CLI tool.
|
||||||
* src/plugins/DumpGenderStats.py (__init__): Fix CLI mode.
|
* src/plugins/DumpGenderStats.py (__init__): Fix CLI mode.
|
||||||
|
@@ -43,7 +43,7 @@ from Filters.Rules._RuleUtils import loose_date_cmp
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasEventBase(Rule):
|
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:'),
|
labels = [ _('Event type:'),
|
||||||
@@ -84,4 +84,6 @@ class HasEventBase(Rule):
|
|||||||
pn = pl.get_title()
|
pn = pl.get_title()
|
||||||
if pn.upper().find(self.list[2].upper()) == -1:
|
if pn.upper().find(self.list[2].upper()) == -1:
|
||||||
return False
|
return False
|
||||||
|
else:
|
||||||
|
return False
|
||||||
return True
|
return True
|
||||||
|
Reference in New Issue
Block a user