Author: jbellis
Date: Fri Mar 5 16:19:18 2010
New Revision: 919467
URL: http://svn.apache.org/viewvc?rev=919467&view=rev
Log:
switch back to hashlib for md5 import (md5.md5 is deprecated). patch by
Staffan Ericsson; reviewed by jbellis for CASSANDRA-851
Modified:
incubator/cassandra/trunk/contrib/py_stress/stress.py
Modified: incubator/cassandra/trunk/contrib/py_stress/stress.py
URL:
http://svn.apache.org/viewvc/incubator/cassandra/trunk/contrib/py_stress/stress.py?rev=919467&r1=919466&r2=919467&view=diff
==============================================================================
--- incubator/cassandra/trunk/contrib/py_stress/stress.py (original)
+++ incubator/cassandra/trunk/contrib/py_stress/stress.py Fri Mar 5 16:19:18
2010
@@ -28,7 +28,7 @@
from threading import Thread
from thread import get_ident
from array import array
-from md5 import md5
+from hashlib import md5
import time, random, sys, os
from random import randint, gauss
from optparse import OptionParser