Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import carbonate.config as config
- import carbonate.cluster as cluster
- conf = config.Config("carbonate.conf")
- cluster = cluster.Cluster(conf)
- index = 0
- for entry in cluster.ring.ring.ring:
- if index == 1280 or index == 1281:
- print "index:"+str(index)+","+str(entry[1][0])
- index = index+1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement