Fixed "in", changed to ==

svn: r139
This commit is contained in:
Don Allingham 2001-06-15 01:34:30 +00:00
parent 0140af4be5
commit 94e2803e56

View File

@ -856,7 +856,7 @@ class GedcomParser:
event.setDate(matches[2]) event.setDate(matches[2])
elif matches[1] == "AGE" or matches[1] == "AGNC": elif matches[1] == "AGE" or matches[1] == "AGNC":
self.ignore_sub_junk(level+1) self.ignore_sub_junk(level+1)
elif matches[1] == "CAUS" or matches[1] in "ADDR": elif matches[1] == "CAUS" or matches[1] == "ADDR":
self.ignore_sub_junk(level+1) self.ignore_sub_junk(level+1)
elif matches[1] == "STAT" or matches[1] == "TEMP": elif matches[1] == "STAT" or matches[1] == "TEMP":
self.ignore_sub_junk(level+1) self.ignore_sub_junk(level+1)