From 244a6177cf88b8a88a35cd3b6b90da742dc3e4c0 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Mon, 26 Jan 2015 21:53:32 +0000 Subject: [PATCH] Revert all of this the date is needed and is a not null in the db --- parsers/logbooks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 1c8db99..4180345 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -111,7 +111,8 @@ def ParseDate(tripdate, year): assert not mdategoof.group(3) or mdategoof.group(3) == year[:2], mdategoof.groups() yadd = int(year[:2]) * 100 day, month, year = int(mdategoof.group(1)), int(mdategoof.group(2)), int(mdategoof.group(4)) + yadd - #assert False, tripdate + else: + assert False, tripdate return datetime.date(year, month, day) # 2007, 2008, 2006