changeset 2381 | caad2367d940 |
parent 2181 | 94ca417b9b07 |
parent 2306 | 95da5d9f0870 |
child 2458 | 4d114865098f |
--- a/server/__init__.py Wed Jul 15 09:45:13 2009 +0200 +++ b/server/__init__.py Thu Jul 16 13:30:13 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: