server/__init__.py
branchstable
changeset 2306 95da5d9f0870
parent 2172 cf8f9180e63e
child 2381 caad2367d940
child 2394 92bba46b853f
--- a/server/__init__.py	Tue Jul 07 11:42:24 2009 +0200
+++ b/server/__init__.py	Tue Jul 07 12:24:40 2009 +0200
@@ -50,8 +50,7 @@
     driver = source['db-driver']
     sqlcnx = repo.system_source.get_connection()
     sqlcursor = sqlcnx.cursor()
-    def execute(sql, args=None):
-        repo.system_source.doexec(sqlcursor, sql, args)
+    execute = sqlcursor.execute
     if drop:
         dropsql = sqldropschema(schema, driver)
         try: