#4264: import ignores marriage and divorce dates (.gw file)

svn: r15994
This commit is contained in:
Jérôme Rapinat 2010-10-15 17:43:43 +00:00
parent db4e0aafb8
commit 43fa619ebc

View File

@ -431,9 +431,11 @@ class GeneWebParser(object):
field = fields[idx]
idx += 1
if field.startswith("+"):
field = field[1:]
mar_date = self.parse_date(self.decode(field))
LOG.debug(" Married at: %s" % field)
elif field.startswith("-"):
field = field[1:]
div_date = self.parse_date(self.decode(field))
LOG.debug(" Div at: %s" % field)
elif field == "#mp" and idx < len(fields):