cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r939720 - /cassandra/trunk/contrib/py_stress/stress.py
Date Fri, 30 Apr 2010 15:42:05 GMT
Author: jbellis
Date: Fri Apr 30 15:42:04 2010
New Revision: 939720

URL: http://svn.apache.org/viewvc?rev=939720&view=rev
Log:
friendlier message when stress.py doesn't need to create Keyspace1 b/c it already exists.
 patch by jbellis

Modified:
    cassandra/trunk/contrib/py_stress/stress.py

Modified: cassandra/trunk/contrib/py_stress/stress.py
URL: http://svn.apache.org/viewvc/cassandra/trunk/contrib/py_stress/stress.py?rev=939720&r1=939719&r2=939720&view=diff
==============================================================================
--- cassandra/trunk/contrib/py_stress/stress.py (original)
+++ cassandra/trunk/contrib/py_stress/stress.py Fri Apr 30 15:42:04 2010
@@ -147,7 +147,7 @@ def make_keyspaces():
         print "Created keyspaces.  Sleeping %ss for propagation." % len(nodes)
         time.sleep(len(nodes))
     except InvalidRequestException, e:
-        print e
+        print e.why
     client.transport.close()
 
 class Operation(Thread):



Mime
View raw message