[Mpuls-commits] r2861 - base/trunk/mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 3 11:25:43 CEST 2010
Author: torsten
Date: 2010-06-03 11:25:41 +0200 (Thu, 03 Jun 2010)
New Revision: 2861
Modified:
base/trunk/mpulsweb/model/case.py
Log:
* mpulsweb/model/case.py (MpulsCase.getValidity): Added new function
which will return the max valitiy of a case based on set tags.
Currently only a dummy function.
Modified: base/trunk/mpulsweb/model/case.py
===================================================================
--- base/trunk/mpulsweb/model/case.py 2010-06-03 08:53:43 UTC (rev 2860)
+++ base/trunk/mpulsweb/model/case.py 2010-06-03 09:25:41 UTC (rev 2861)
@@ -810,6 +810,10 @@
self.tags = []
return self.tags
+ def getValidity(self):
+ '''Will return the id of the max validity based on set tags'''
+ return '0'
+
def getDocuments(self):
"""Returns a list of documents which are attached to this case"""
try:
More information about the Mpuls-commits
mailing list