Python 3 syntax

This commit is contained in:
Adam Holmberg
2015-01-15 19:40:45 -06:00
parent 21ac88035b
commit 56638346b8

View File

@@ -59,7 +59,7 @@ class AuthenticationTests(unittest.TestCase):
:return: authentication object suitable for Cluster.connect()
"""
if PROTOCOL_VERSION < 2:
return lambda(hostname): dict(username=username, password=password)
return lambda hostname: dict(username=username, password=password)
else:
return PlainTextAuthProvider(username=username, password=password)