[Mpuls-commits] r1660 - in wasko/branches/2.0: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 18 13:04:18 CET 2010


Author: bh
Date: 2010-02-18 13:04:15 +0100 (Thu, 18 Feb 2010)
New Revision: 1660

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (get_field_identifier): log.debug instead
of printing to stderr


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-18 11:40:31 UTC (rev 1659)
+++ wasko/branches/2.0/ChangeLog	2010-02-18 12:04:15 UTC (rev 1660)
@@ -1,5 +1,10 @@
 2010-02-18  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py (get_field_identifier): log.debug instead
+	of printing to stderr
+
+2010-02-18  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/controllers/casedocument.py (loadCase): Removed. No
 	longer used.
 

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-02-18 11:40:31 UTC (rev 1659)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-02-18 12:04:15 UTC (rev 1660)
@@ -95,7 +95,7 @@
         return None
     rgs = rgc.getChildren()
     if not rgs:
-        print >> sys.stderr, "No repeat group found: create new"
+        log.debug("No repeat group found for %r: create new", name)
         rg = rgc.createInstance()
     else:
         rg = rgs[idx]



More information about the Mpuls-commits mailing list