[Mpuls-commits] r5195 - base/trunk/mpulsweb/model

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


Author: torsten
Date: 2011-07-27 10:09:03 +0200 (Wed, 27 Jul 2011)
New Revision: 5195

Modified:
   base/trunk/mpulsweb/model/phase.py
Log:
Print Statement zum Debugging entfernt.


Modified: base/trunk/mpulsweb/model/phase.py
===================================================================
--- base/trunk/mpulsweb/model/phase.py	2011-07-27 08:06:59 UTC (rev 5194)
+++ base/trunk/mpulsweb/model/phase.py	2011-07-27 08:09:03 UTC (rev 5195)
@@ -228,9 +228,7 @@
                     errors.append('</ol>')
                     raise ConsistenceCheckException(CASE_NOT_CONSISTENT
                                                     % (phases.description, "".join(errors)))
-            
             if int(p2.id) <= int(current_phase) and p2.id in path:
-                print p2.id 
                 if not p2.is_ok(fields, check_setting_phase=False):
                     errors = []
                     errors.append('<ol>')
@@ -243,7 +241,7 @@
 class Phase:
 
     def __init__(self, id, start, end, description):
-        self.id = id 
+        self.id = id
         self.start = start
         self.end = end
         self.description = description



More information about the Mpuls-commits mailing list