Try to fix python2/3 compatiblity
@@ -18,9 +18,11 @@ from six import iteritems, print_
from ccmlib import common, extension, repository
from ccmlib.node import Node, NodeError, TimeoutError
from six.moves import xrange
+try:
+ from urllib.parse import urlparse
+except ImportError:
from urlparse import urlparse
-
class Cluster(object):
def __init__(self, path, name, partitioner=None, install_dir=None, create_directory=True, version=None, verbose=False, derived_cassandra_version=None, **kwargs):
