Author: tmckay
Date: 2011-09-28 12:54:17 +0000 (Wed, 28 Sep 2011)
New Revision: 5022
Modified:
trunk/cumin/bin/cumin-admin
Log:
Exception handler syntax not valid for Python 2.4
BZ741729
Modified: trunk/cumin/bin/cumin-admin
===================================================================
--- trunk/cumin/bin/cumin-admin 2011-09-27 21:10:13 UTC (rev 5021)
+++ trunk/cumin/bin/cumin-admin 2011-09-28 12:54:17 UTC (rev 5022)
@@ -250,7 +250,7 @@
def handle_check_schema(app, cursor, opts, args):
try:
schema_version = app.admin.check_schema(cursor)
- except Exception as e:
+ except Exception, e:
error(str(e))
print "The schema is OK (schema version %s)" % schema_version
Show replies by date