[Mpuls-commits] r836 - in wasko/branches/2.0: . waskaweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jan 25 16:38:43 CET 2010
Author: bh
Date: 2010-01-25 16:38:39 +0100 (Mon, 25 Jan 2010)
New Revision: 836
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (Case.getDigest): remove the parameter
empty and the Uerkan mode with it. No caller uses it anymore.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-01-25 15:33:33 UTC (rev 835)
+++ wasko/branches/2.0/ChangeLog 2010-01-25 15:38:39 UTC (rev 836)
@@ -1,5 +1,10 @@
2010-01-25 Bernhard Herzog <bh at intevation.de>
+ * waskaweb/model/case.py (Case.getDigest): remove the parameter
+ empty and the Ürkan mode with it. No caller uses it anymore.
+
+2010-01-25 Bernhard Herzog <bh at intevation.de>
+
* waskaweb/templates/casemanagement/digest_body.mako,
waskaweb/model/case.py (CaseDigest._loadFromDB): Apply the F.NA
and nl_to_br in the template, not in _loadFromDB. Also,
Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py 2010-01-25 15:33:33 UTC (rev 835)
+++ wasko/branches/2.0/waskaweb/model/case.py 2010-01-25 15:38:39 UTC (rev 836)
@@ -1073,16 +1073,13 @@
db.recycleConnection(con, cur)
return self.editor
- def getDigest(self, empty=False):
+ def getDigest(self):
"""Returns the digest of the case"""
if not self.digest is None:
return self.digest
try:
# Create digest
self.digest = CaseDigest(self.id)
- # This is Ürkan-Mode
- if empty:
- self.digest.resetValues(self.id)
return self.digest
except:
self.digest = None
More information about the Mpuls-commits
mailing list