mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-19 12:05:13 +00:00
Fix syntax error in code
This commit is contained in:
parent
c1953bdad3
commit
0633b2ca67
@ -315,7 +315,7 @@ def exec_on_leader(function, *args):
|
||||
raise exc.DegradedCollective()
|
||||
xid = confluent.util.stringify(base64.b64encode(os.urandom(8)))
|
||||
while xid in _pendingchangesets:
|
||||
xid = confluent.util.stringify(base64.b64encode(os.urandom(8))
|
||||
xid = confluent.util.stringify(base64.b64encode(os.urandom(8)))
|
||||
_pendingchangesets[xid] = event.Event()
|
||||
rpcpayload = cPickle.dumps({'function': function, 'args': args,
|
||||
'xid': xid}, protocol=cfgproto)
|
||||
|
Loading…
x
Reference in New Issue
Block a user