Browse files

fix setting consistency on CCP instances

since CCP was not a new-style class (inheriting only from the classic-style
service.Service), the 'consistency' property was not honored, and the
client instance's corresponding consistency was not updated upon

make CCP a new-style class by adding object to its bases. Fixes #21.
  • Loading branch information...
1 parent 69d4dab commit b7bfed1c81ed712ae79a7ad340c89a42b69792b0 @thepaul thepaul committed Nov 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 telephus/
@@ -519,7 +519,7 @@ def __cmp__(self, other):
def __hash__(self):
return hash((self.__class__,, self.port))
-class CassandraClusterPool(service.Service):
+class CassandraClusterPool(service.Service, object):
Manage a pool of connections to nodes in a Cassandra cluster.

0 comments on commit b7bfed1

Please sign in to comment.