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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 2 18:17:44 CET 2010


Author: bh
Date: 2010-02-02 18:17:37 +0100 (Tue, 02 Feb 2010)
New Revision: 1178

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (Case.getDigest): Removed. No longer
used.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-02 17:05:11 UTC (rev 1177)
+++ wasko/branches/2.0/ChangeLog	2010-02-02 17:17:37 UTC (rev 1178)
@@ -1,5 +1,10 @@
 2010-02-02  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py (Case.getDigest): Removed. No longer
+	used.
+
+2010-02-02  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/controllers/case.py (CaseController.digest)
 	(CaseController.printAll): Assign the case object to c.case.  Do
 	not assign the digest to c anymore.

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-02-02 17:05:11 UTC (rev 1177)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-02-02 17:17:37 UTC (rev 1178)
@@ -945,19 +945,6 @@
             db.recycleConnection(con, cur)
         return self.editor
 
-    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)
-            return self.digest
-        except:
-            self.digest = None
-            raise
-        return None
-
     def getPrivacyStatement(self):
         """Returns the privacy statement of the case"""
         if not self.privacy_statement is None:



More information about the Mpuls-commits mailing list