parent
28dc2e5158
commit
23d2c8e694
@ -1788,7 +1788,7 @@ class OldAgeButNoDeath(PersonRule):
|
|||||||
class BirthEqualsDeath(PersonRule):
|
class BirthEqualsDeath(PersonRule):
|
||||||
""" test if a person's birth date is the same as their death date """
|
""" test if a person's birth date is the same as their death date """
|
||||||
ID = 33
|
ID = 33
|
||||||
SEVERITY = Rule.ERROR
|
SEVERITY = Rule.WARNING
|
||||||
def broken(self):
|
def broken(self):
|
||||||
""" return boolean indicating whether this rule is violated """
|
""" return boolean indicating whether this rule is violated """
|
||||||
birth_date = get_birth_date(self.db, self.obj)
|
birth_date = get_birth_date(self.db, self.obj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user