# HG changeset patch # User Paul Boddie # Date 1445986431 -3600 # Node ID 415c72ac473323185a922480c151ca15f6f8834a # Parent 7e09dd9862388bcbf8fca23f23c6907130e72ed4 Added missing definitions. diff -r 7e09dd986238 -r 415c72ac4733 imiptools/period.py --- a/imiptools/period.py Tue Oct 27 21:17:11 2015 +0100 +++ b/imiptools/period.py Tue Oct 27 23:53:51 2015 +0100 @@ -319,6 +319,9 @@ start_errors, end_errors = errors + start = self.get_start() + end = self.get_end() + if start_errors: start = correct_datetime(start, permitted_values) if end_errors: