[Mpuls-commits] r1705 - wasko/branches/2.0/jmdweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 23 16:23:24 CET 2010


Author: torsten
Date: 2010-02-23 16:23:23 +0100 (Tue, 23 Feb 2010)
New Revision: 1705

Modified:
   wasko/branches/2.0/jmdweb/controllers/case.py
Log:
Removed debugging output


Modified: wasko/branches/2.0/jmdweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/jmdweb/controllers/case.py	2010-02-23 15:04:25 UTC (rev 1704)
+++ wasko/branches/2.0/jmdweb/controllers/case.py	2010-02-23 15:23:23 UTC (rev 1705)
@@ -326,14 +326,12 @@
         elif request.params.has_key('save'):
             validator = NewCaseForm()
             try:
-                log.debug('x')
                 form_result = validator.to_python(request.params)
                 # 1. Create a new case
                 case = g.case_factory.createNew(data=convert2dic(form_result))
                 statement = case.getPrivacyStatement()
 
                 # 2. Do we want to sign the statement?
-                log.debug('y')
                 if form_result.get('statement_signed'):
                     statement.sign()
 
@@ -342,7 +340,6 @@
                 c.form_result = error.value
                 c.form_errors = error.error_dict or {}
                 return render('/casemanagement/new.mako')
-        log.debug('z')
 
         return self.select(str(case.id))
 



More information about the Mpuls-commits mailing list