issue #493: another Py3.x fix.

issue510
David Wilson 6 years ago
parent 2a70b3d5f4
commit 16a2de65c4

@ -2094,7 +2094,7 @@ class Latch(object):
self._cls_all_sockets.extend((rsock, wsock))
return rsock, wsock
COOKIE_MAGIC, = struct.unpack('L', 'LTCH' * (struct.calcsize('L')//4))
COOKIE_MAGIC, = struct.unpack('L', b('LTCH') * (struct.calcsize('L')//4))
COOKIE_FMT = 'Llll'
COOKIE_SIZE = struct.calcsize(COOKIE_FMT)

Loading…
Cancel
Save