2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-13 19:17:07 +00:00

extra error printout and remove old code

This commit is contained in:
Philip Sargent
2020-07-06 21:46:58 +01:00
parent d27a74c97b
commit ff3cdb10dc
2 changed files with 4 additions and 22 deletions

View File

@@ -137,6 +137,10 @@ def ParseDate(tripdate, year):
day, month, year = int(mdategoof.group(1)), int(mdategoof.group(2)), int(mdategoof.group(4)) + yadd
else:
assert False, tripdate
message" ! - Bad date in logbook: " + tripdate + " - " + year
DataIssue.objects.create(parser='logbooks', message=message)
logdataissues[tid+"author"]=message
return datetime.date(year, month, day)
# 2006, 2008 - 2009