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

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


Author: bh
Date: 2010-02-02 17:54:00 +0100 (Tue, 02 Feb 2010)
New Revision: 1174

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (Case.getDiscretionStatement)
(Case.getPrivacyStatement): Use case object in place of the case
digest object when calling the statement's fillout method.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-02 16:53:45 UTC (rev 1173)
+++ wasko/branches/2.0/ChangeLog	2010-02-02 16:54:00 UTC (rev 1174)
@@ -1,5 +1,11 @@
 2010-02-02  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py (Case.getDiscretionStatement)
+	(Case.getPrivacyStatement): Use case object in place of the case
+	digest object when calling the statement's fillout method.
+
+2010-02-02  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/case.py (CaseFactory.loadFromQueryResult)
 	(CaseFactory.loadByName): Rename loadByName to loadFromQueryResult
 	and change its parameters.  loadFromQueryResult takes a single

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-02-02 16:53:45 UTC (rev 1173)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-02-02 16:54:00 UTC (rev 1174)
@@ -965,7 +965,7 @@
         try:
             # Create privacy_statement
             self.privacy_statement = PrivacyStatement(self.id)
-            self.privacy_statement.fillout(self.getDigest(), Agency())
+            self.privacy_statement.fillout(self, Agency())
             return self.privacy_statement
         except:
             self.privacy_statement = None
@@ -979,7 +979,7 @@
         try:
             # Create discretion_statement
             self.discretion_statement = DiscretionStatement(self.id)
-            self.discretion_statement.fillout(self.getDigest(), Agency())
+            self.discretion_statement.fillout(self, Agency())
             return self.discretion_statement
         except:
             self.discretion_statement = None



More information about the Mpuls-commits mailing list