[Mpuls-commits] r597 - in waska/trunk: . waskaweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Sep 8 11:47:08 CEST 2009
Author: frank
Date: 2009-09-08 11:47:07 +0200 (Tue, 08 Sep 2009)
New Revision: 597
Modified:
waska/trunk/ChangeLog.txt
waska/trunk/waskaweb/model/case.py
Log:
Minor bugfix as follow up of isYoungerThan() enhancement.
Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt 2009-09-05 10:35:32 UTC (rev 596)
+++ waska/trunk/ChangeLog.txt 2009-09-08 09:47:07 UTC (rev 597)
@@ -6,7 +6,10 @@
* Changes.txt: Added changes.
+2009-09-04 Frank Koormann <frank.koormann at intevation.de>
+ * waskaweb/model/case.py: Add UNKNOWN_DATE.
+
2009-09-04 Frank Koormann <frank.koormann at intevation.de>
* waskaweb/model/case.py: Add beendigung_5 to LOAD_CASE_SQL-Statement.
Modified: waska/trunk/waskaweb/model/case.py
===================================================================
--- waska/trunk/waskaweb/model/case.py 2009-09-05 10:35:32 UTC (rev 596)
+++ waska/trunk/waskaweb/model/case.py 2009-09-08 09:47:07 UTC (rev 597)
@@ -27,6 +27,7 @@
# Torsten Irländer <torsten.irlaender at intevation.de>
#
+
import sys
import re
from datetime import date, datetime
@@ -46,7 +47,6 @@
from waskaweb.lib.xmlexport import exportAsXML
from waskaweb.lib.base import session, g, h, config
import waskaweb.lib.filters as F
-from waskaweb.model import UNKNOWN_DATE
from waskaweb.model.user import UserObject
from waskaweb.model.agencysettings import Agency
from waskaweb.model.repeatgroup import AidList, CREATE_RG_BILDEN_DS,CREATE_RG_LEBEN_DS, CREATE_RG_QUALI_DS, CREATE_RG_BERUF_DS
@@ -61,6 +61,8 @@
from os import tmpnam, unlink
+UNKNOWN_DATE = date(1,1,1)
+
def save_getone(params, k, v):
try:
return params.getone(k)
More information about the Mpuls-commits
mailing list