Fix contact points in example.py

This commit is contained in:
Tyler Hobbs
2013-06-28 15:40:04 -05:00
parent 9ea4987d8c
commit 82ff125cbf

View File

@@ -15,7 +15,7 @@ from cassandra.query import SimpleStatement
KEYSPACE = "testkeyspace"
def main():
cluster = Cluster(['127.0.0.2', '127.0.0.1'])
cluster = Cluster(['127.0.0.1'])
session = cluster.connect()
rows = session.execute("SELECT keyspace_name FROM system.schema_keyspaces")