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):