Commit ba2c1c4a authored by Daniele Tricoli's avatar Daniele Tricoli 🦀

Drop pickle-protocol-2.diff patch since imported upstream

parent d495660c
From: Jakub Wilk <jwilk@debian.org>
Date: Sun, 11 Oct 2015 20:35:01 +0200
Subject: Use pickle protocol 2 for serializing data.
Patch-Name: pickle-protocol-2.diff
---
tools/conv_cmap.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/conv_cmap.py b/tools/conv_cmap.py
index 4e908bd..f5b62cc 100755
--- a/tools/conv_cmap.py
+++ b/tools/conv_cmap.py
@@ -135,7 +135,7 @@ class CMapConverter(object):
IS_VERTICAL=self.is_vertical.get(enc, False),
CODE2CID=self.code2cid.get(enc),
)
- fp.write(pickle.dumps(data))
+ fp.write(pickle.dumps(data, protocol=2))
return
def dump_unicodemap(self, fp):
@@ -143,7 +143,7 @@ class CMapConverter(object):
CID2UNICHR_H=self.cid2unichr_h,
CID2UNICHR_V=self.cid2unichr_v,
)
- fp.write(pickle.dumps(data))
+ fp.write(pickle.dumps(data, protocol=2))
return
# main
pickle-protocol-2.diff
avoid-timestamped-gzip.patch
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