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

svn: r15995
This commit is contained in:
Jérôme Rapinat 2010-10-15 17:47:10 +00:00
parent 6b4a3a097d
commit f90ce86320

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):