[Mpuls-commits] r2671 - wasko/branches/2.0/mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed May 5 17:42:57 CEST 2010
Author: torsten
Date: 2010-05-05 17:42:55 +0200 (Wed, 05 May 2010)
New Revision: 2671
Modified:
wasko/branches/2.0/mpulsweb/model/case.py
Log:
Set data in "make_anonymizable"
Modified: wasko/branches/2.0/mpulsweb/model/case.py
===================================================================
--- wasko/branches/2.0/mpulsweb/model/case.py 2010-05-05 15:37:38 UTC (rev 2670)
+++ wasko/branches/2.0/mpulsweb/model/case.py 2010-05-05 15:42:55 UTC (rev 2671)
@@ -766,15 +766,8 @@
data["%s" % (field.id)] = def_value
# Set values
- try:
- log.debug(data)
- self.formed_instance.setData(data)
- except Exception, e:
- log.debug(e)
-
- log.exception("test")
- raise
- #self.formed_instance.commit()
+ self.formed_instance.setData(data)
+ self.formed_instance.commit()
def make_anonymizable(self):
"""Will ensure that the case is in a anonymizable state. This means
More information about the Mpuls-commits
mailing list