[Mpuls-commits] r4982 - in wasko/trunk: . waskoweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu May 19 20:21:19 CEST 2011


Author: bh
Date: 2011-05-19 20:21:18 +0200 (Thu, 19 May 2011)
New Revision: 4982

Modified:
   wasko/trunk/ChangeLog
   wasko/trunk/waskoweb/controllers/caselifetime.py
Log:
* waskoweb/controllers/caselifetime.py: Remove commented out code.


Modified: wasko/trunk/ChangeLog
===================================================================
--- wasko/trunk/ChangeLog	2011-05-19 18:18:32 UTC (rev 4981)
+++ wasko/trunk/ChangeLog	2011-05-19 18:21:18 UTC (rev 4982)
@@ -1,5 +1,9 @@
 2011-05-19  Bernhard Herzog  <bh at intevation.de>
 
+	* waskoweb/controllers/caselifetime.py: Remove commented out code.
+
+2011-05-19  Bernhard Herzog  <bh at intevation.de>
+
 	* waskoweb/controllers/caselifetime.py: Fix formatting.
 
 2011-05-19  Ludwig Reiter <ludwig.reiter at intevation.de>

Modified: wasko/trunk/waskoweb/controllers/caselifetime.py
===================================================================
--- wasko/trunk/waskoweb/controllers/caselifetime.py	2011-05-19 18:18:32 UTC (rev 4981)
+++ wasko/trunk/waskoweb/controllers/caselifetime.py	2011-05-19 18:21:18 UTC (rev 4982)
@@ -160,12 +160,6 @@
     it = factory.loadInstanceTreeByIdentifier(id)
     sparams = session.get('lifetimeparams', {})
     cm2c_t = _get_value(it, 'cm2c_t', id)
-    #if cm2c_t:
-    #    data['cm2c_t'] = cm2c_t
-    #    data['cm2c_t'] += "\r\n\r\n" + sparams.get('anmerkungen', '')
-    #else:
-    #    data['cm2c_t'] = sparams.get('anmerkungen', '')
-    #del sparams['anmerkungen']
     data.update(sparams)
     _set_data(it, data, id)
 
@@ -497,11 +491,6 @@
             try:
                 data = session['lifetimeparams']
                 if c.num_wiederaufnahme < 1:
-                    ## Dokumentiere Daten im alten Fall!
-                    #save_formdata(id, data)
-                    ## Reload case after saving data
-                    #it = factory.loadInstanceTreeByIdentifier(id)
-
                     # Lege neuen Fall an, es sollen aber nur bestimmte
                     # Felder kopiert werden
                     fields = []



More information about the Mpuls-commits mailing list