Commit 0f85305a authored by Jérome Perrin's avatar Jérome Perrin

fixup! XMLExportImport: WIP support pickle protocol 3 🚧

parent 8669aaa2
Pipeline #27245 failed with stage
in 0 seconds
......@@ -852,9 +852,8 @@ def save_string(self, tag, data):
op = SHORT_BINSTRING
v = op + six.int2byte(l) + v
else:
if encoding == 'base64':
# TODO: zope4py3 see assumption above for SHORT_BINBYTES / SHORT_BINSTRING
op = BINSTRING
# TODO: zope4py3 see assumption above for SHORT_BINBYTES / SHORT_BINSTRING
op = BINSTRING
v = op + struct.pack('<i', l) + v
else:
v = STRING + repr(v) + '\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment