[Mpuls-commits] r5193 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 27 09:43:54 CEST 2011


Author: torsten
Date: 2011-07-27 09:43:33 +0200 (Wed, 27 Jul 2011)
New Revision: 5193

Modified:
   base/trunk/mpulsweb/controllers/case_overview.py
Log:
Verbesserung Logging: Gebe die verwendetet Suchparameter nicht mehr als print
statement aus sondern verwende den python logging mechanismus.


Modified: base/trunk/mpulsweb/controllers/case_overview.py
===================================================================
--- base/trunk/mpulsweb/controllers/case_overview.py	2011-07-27 07:28:50 UTC (rev 5192)
+++ base/trunk/mpulsweb/controllers/case_overview.py	2011-07-27 07:43:33 UTC (rev 5193)
@@ -99,7 +99,7 @@
 
     def _getCaseList(self, search_options):
         cases = MpulsCaseOverview()
-        print search_options
+        log.debug('search options: %s' % search_options)
         if search_options:
             options = self.parseSearchOptions(search_options,
                                         extended=session.get("EXTENDED_SEARCH"))
@@ -140,7 +140,6 @@
         overview = render('/casemanagement/overview.mako')
         return formencode.htmlfill.render(overview, defaults=form_defaults,
                                           errors=form_errors)
-        
 
     @checkRole(('admin', 'cm', 'pt_dlr'))
     def search(self, search_options=None):



More information about the Mpuls-commits mailing list