[Mpuls-commits] r956 - in wasko/branches/2.0: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jan 27 16:37:35 CET 2010


Author: bh
Date: 2010-01-27 16:37:31 +0100 (Wed, 27 Jan 2010)
New Revision: 956

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (CaseStatementField): Removed.  Not used
anymore.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-01-27 15:36:01 UTC (rev 955)
+++ wasko/branches/2.0/ChangeLog	2010-01-27 15:37:31 UTC (rev 956)
@@ -1,5 +1,10 @@
 2010-01-27  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py (CaseStatementField): Removed.  Not used
+	anymore.
+
+2010-01-27  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/case.py (CaseDigest.fields): Remove field
 	statement.  It's not used and referred to the wrong formed field
 	anyway.

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-01-27 15:36:01 UTC (rev 955)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-01-27 15:37:31 UTC (rev 956)
@@ -630,13 +630,6 @@
         return (date.today() - obj).days / 365 or ""
 
 
-class CaseStatementField(CaseField):
-
-    @classmethod
-    def from_db(cls, obj):
-        return obj >= 0
-
-
 class CaseDigest:
 
     fields = [



More information about the Mpuls-commits mailing list