cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1085092 - /cassandra/trunk/drivers/py/cqlsh
Date Thu, 24 Mar 2011 19:34:55 GMT
Author: eevans
Date: Thu Mar 24 19:34:54 2011
New Revision: 1085092

URL: http://svn.apache.org/viewvc?rev=1085092&view=rev
Log:
convert exception to string for printing

Patch by eevans

Modified:
    cassandra/trunk/drivers/py/cqlsh

Modified: cassandra/trunk/drivers/py/cqlsh
URL: http://svn.apache.org/viewvc/cassandra/trunk/drivers/py/cqlsh?rev=1085092&r1=1085091&r2=1085092&view=diff
==============================================================================
--- cassandra/trunk/drivers/py/cqlsh (original)
+++ cassandra/trunk/drivers/py/cqlsh Thu Mar 24 19:34:54 2011
@@ -199,7 +199,7 @@ if __name__ == '__main__':
             readline.write_history_file(HISTORY)
             break
         except CQLException, cqlerr:
-            shell.printerr(cqlerr, color=RED)
+            shell.printerr(str(cqlerr), color=RED)
         except KeyboardInterrupt:
             shell.reset_statement()
             print



Mime
View raw message