We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3998a9a commit 039cb78Copy full SHA for 039cb78
1 file changed
cassandra/cluster.py
@@ -183,16 +183,10 @@ def _shutdown_clusters():
183
atexit.register(_shutdown_clusters)
184
185
186
-# murmur3 implementation required for TokenAware is only available for CPython
187
-import platform
188
-if platform.python_implementation() == 'CPython':
189
- def default_lbp_factory():
190
- if murmur3 is not None:
191
- return TokenAwarePolicy(DCAwareRoundRobinPolicy())
192
- return DCAwareRoundRobinPolicy()
193
-else:
194
195
+def default_lbp_factory():
+ if murmur3 is not None:
+ return TokenAwarePolicy(DCAwareRoundRobinPolicy())
+ return DCAwareRoundRobinPolicy()
196
197
198
class ExecutionProfile(object):
0 commit comments