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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user