2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 01:01:53 +00:00

Don't assert an error on bad date formats

This commit is contained in:
Sam Wenham 2015-01-26 21:12:27 +00:00
parent 3bdd1ad737
commit a5e7fcf435

View File

@ -112,7 +112,8 @@ def ParseDate(tripdate, year):
yadd = int(year[:2]) * 100
day, month, year = int(mdategoof.group(1)), int(mdategoof.group(2)), int(mdategoof.group(4)) + yadd
else:
assert False, tripdate
continue
#assert False, tripdate
return datetime.date(year, month, day)
# 2007, 2008, 2006