Skip to content
Browse files

Set self.api_version, not self.version in Protocol

  • Loading branch information...
1 parent d4c313e commit 2a6c1bcab55a7957e0fc3af69e8452e622ba8621 @thobbs thobbs committed Apr 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 telephus/protocol.py
View
2 telephus/protocol.py
@@ -46,7 +46,7 @@ def setupConnection(self):
d.addCallback(lambda _: self.client.describe_version())
d.addCallback(translate.getAPIVersion)
def set_version(ver):
- self.version = ver
+ self.api_version = ver
d.addCallback(set_version)
if self.keyspace:
d.addCallback(lambda _: self.client.set_keyspace(self.keyspace))

0 comments on commit 2a6c1bc

Please sign in to comment.
Something went wrong with that request. Please try again.