[Mpuls-commits] r3846 - in waska/branches/1.7: . waskaweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 1 15:05:43 CEST 2010
Author: roland
Date: 2010-10-01 15:05:42 +0200 (Fri, 01 Oct 2010)
New Revision: 3846
Modified:
waska/branches/1.7/ChangeLog
waska/branches/1.7/waskaweb/model/datapage.py
Log:
change the maximum date to 1.9.2010
Modified: waska/branches/1.7/ChangeLog
===================================================================
--- waska/branches/1.7/ChangeLog 2010-10-01 13:03:31 UTC (rev 3845)
+++ waska/branches/1.7/ChangeLog 2010-10-01 13:05:42 UTC (rev 3846)
@@ -1,3 +1,8 @@
+2010-10-01 Roland Geider <roland.geider at intevation.de>
+
+ * waskaweb/model/datapage.py: issue1098: change the maximum date from
+ 1.1.2010 to 1.9.2010
+
2010-09-16 Roland Geider <roland.geider at intevation.de>
* waskaweb/lib/helpers.py,
Modified: waska/branches/1.7/waskaweb/model/datapage.py
===================================================================
--- waska/branches/1.7/waskaweb/model/datapage.py 2010-10-01 13:03:31 UTC (rev 3845)
+++ waska/branches/1.7/waskaweb/model/datapage.py 2010-10-01 13:05:42 UTC (rev 3846)
@@ -196,12 +196,12 @@
ov = self.getData(k)
if nv != ov:
# Raise an exception if the new date of the start or the end of
- # the case management is before the 1.1.2010 (ignore if the value
+ # the case management is before the 1.9.2010 (ignore if the value
# is from an old file)
if k in ['datum_feststellung', 'beendigung_5']:
- if nv < datetime.date(2010, 01, 01):
- raise SematicError('Datum darf nicht vor dem 1.1.2010 liegen')
+ if nv < datetime.date(2010, 9, 1):
+ raise SematicError('Datum darf nicht vor dem 1.9.2010 liegen')
to_be_set[k] = (nv, [])
except SematicError, inst:
ei = ErrorItem(pageName, value, widget.getDescription())
More information about the Mpuls-commits
mailing list