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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 4 12:42:55 CET 2010


Author: bh
Date: 2010-02-04 12:42:52 +0100 (Thu, 04 Feb 2010)
New Revision: 1240

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (CaseFactory._updateMasterOnCreate)
(CaseFactory._initNewCase): Remove debug prints.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-04 11:22:26 UTC (rev 1239)
+++ wasko/branches/2.0/ChangeLog	2010-02-04 11:42:52 UTC (rev 1240)
@@ -1,5 +1,10 @@
 2010-02-04  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py (CaseFactory._updateMasterOnCreate)
+	(CaseFactory._initNewCase): Remove debug prints.
+
+2010-02-04  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/case.py (CaseFactory.createNew): Use libformed's
 	createNewInstanceTree to create the new case instead of accessing
 	the database directly.

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-02-04 11:22:26 UTC (rev 1239)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-02-04 11:42:52 UTC (rev 1240)
@@ -441,7 +441,6 @@
                     continue
                 data[nkey] = value
 
-            print data
             instance_tree.setData(data)
 
             session['uncommitted_fields'] = instance_tree.commit()
@@ -474,13 +473,9 @@
             conn = db.getConnection()
             cur = conn.cursor()
             cur.execute(INIT_CASE_SQL, fields)
-            print "1"
             conn.commit()
-            print "2"
         finally:
-            print "3"
             db.recycleConnection(conn, cur)
-            print "4"
 
 
 class CaseStandin:



More information about the Mpuls-commits mailing list