r5483 - trunk/cumin/bin
tmckay at fedoraproject.org
tmckay at fedoraproject.org
Thu Sep 27 19:08:48 UTC 2012
Author: tmckay
Date: 2012-09-27 19:08:47 +0000 (Thu, 27 Sep 2012)
New Revision: 5483
Modified:
trunk/cumin/bin/cumin-admin
Log:
Error in handle_create_schema, need to get conn/cursor from app.create_schema()
(merge damage)
Modified: trunk/cumin/bin/cumin-admin
===================================================================
--- trunk/cumin/bin/cumin-admin 2012-09-26 21:48:37 UTC (rev 5482)
+++ trunk/cumin/bin/cumin-admin 2012-09-27 19:08:47 UTC (rev 5483)
@@ -304,7 +304,7 @@
def handle_create_schema(app, cursor, opts, args):
try:
- app.admin.create_schema(cursor)
+ conn, cursor = app.admin.create_schema(cursor)
except ProgrammingError:
error("The schema already exists")
More information about the cumin-developers
mailing list