Skip to content

Commit

Permalink
Fix vtclient init parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
guoliang100 committed Feb 28, 2014
1 parent f70386b commit 03f30c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/vtdb/vtclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _run_with_reconnect(self, *args, **kargs):
class VtOCCConnection(object):
cursorclass = cursor.TabletCursor

def __init__(self, zkocc_client, keyspace, shard, db_type, timeout, user=None, password=None, encrypted=False, keyfile=None, certfile=None, vtgate_protocol='v0', vtgate_addrs={}):
def __init__(self, zkocc_client, keyspace, shard, db_type, timeout, user=None, password=None, encrypted=False, keyfile=None, certfile=None, vtgate_protocol='v0', vtgate_addrs=None):
self.zkocc_client = zkocc_client
self.keyspace = keyspace
self.shard = str(shard)
Expand Down

0 comments on commit 03f30c0

Please sign in to comment.