[Mpuls-commits] r3887 - in waska/trunk: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 5 09:50:27 CEST 2010


Author: roland
Date: 2010-10-05 09:50:21 +0200 (Tue, 05 Oct 2010)
New Revision: 3887

Modified:
   waska/trunk/ChangeLog
   waska/trunk/waskaweb/controllers/logbook.py
Log:
G121: don't save statistics to form

Modified: waska/trunk/ChangeLog
===================================================================
--- waska/trunk/ChangeLog	2010-10-05 07:44:17 UTC (rev 3886)
+++ waska/trunk/ChangeLog	2010-10-05 07:50:21 UTC (rev 3887)
@@ -1,3 +1,8 @@
+2010-10-05 Roland Geider <rolang.geider at intevation.de>
+
+	* waskaweb/controllers/logbook.py: G121: don't save the statistics
+	till it is clear what we need
+
 2010-10-04  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* waskaweb/public/formed/formedtree.xml: Issue1065: Reintroduced rules

Modified: waska/trunk/waskaweb/controllers/logbook.py
===================================================================
--- waska/trunk/waskaweb/controllers/logbook.py	2010-10-05 07:44:17 UTC (rev 3886)
+++ waska/trunk/waskaweb/controllers/logbook.py	2010-10-05 07:50:21 UTC (rev 3887)
@@ -109,13 +109,13 @@
             sql_update = sql_update + ' WHERE id = %(id)s'
             
             # Roland: this will change, once it is decided how and when we will
-            # update the statistics. Till then, just check for the existence of
-            # 'types'
+            # update the statistics. Till then, don't do anything
             #if update_case:
-            if type_statistics['types']:
-                cur = conn.cursor()
-                cur.execute(sql_update, new_data)
-                conn.commit()
+            
+            #if type_statistics['types']:
+            #    cur = conn.cursor()
+            #    cur.execute(sql_update, new_data)
+            #    conn.commit()
         finally:
             db.recycleConnection(conn, cur)
         



More information about the Mpuls-commits mailing list