[Python-modules-commits] r27650 - in packages/pdfminer/trunk/debian (2 files)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Thu Feb 13 20:58:37 UTC 2014
Date: Thursday, February 13, 2014 @ 20:58:37
Author: eriol-guest
Revision: 27650
Refreshed debian/patches/pickle-protocol2.diff
Modified:
packages/pdfminer/trunk/debian/changelog
packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff
Modified: packages/pdfminer/trunk/debian/changelog
===================================================================
--- packages/pdfminer/trunk/debian/changelog 2014-02-13 20:53:18 UTC (rev 27649)
+++ packages/pdfminer/trunk/debian/changelog 2014-02-13 20:58:37 UTC (rev 27650)
@@ -5,8 +5,10 @@
[ Daniele Tricoli ]
* New upstream release
+ * debian/patches/pickle-protocol2.diff
+ - Refreshed
- -- Daniele Tricoli <eriol at mornie.org> Thu, 13 Feb 2014 21:00:44 +0100
+ -- Daniele Tricoli <eriol at mornie.org> Thu, 13 Feb 2014 21:56:12 +0100
pdfminer (20110515+dfsg-1) unstable; urgency=low
Modified: packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff
===================================================================
--- packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff 2014-02-13 20:53:18 UTC (rev 27649)
+++ packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff 2014-02-13 20:58:37 UTC (rev 27650)
@@ -3,12 +3,21 @@
--- a/tools/conv_cmap.py
+++ b/tools/conv_cmap.py
-@@ -148,7 +148,7 @@
- CID2UNICHR_H=cid2unichr_h,
- CID2UNICHR_V=cid2unichr_v,
- )
-- fp.write(pickle.dumps(data))
-+ fp.write(pickle.dumps(data, protocol=2))
- fp.close()
+@@ -135,7 +135,7 @@
+ 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
- return 0
+ def dump_unicodemap(self, fp):
+@@ -143,7 +143,7 @@
+ CID2UNICHR_H=self.cid2unichr_h,
+ CID2UNICHR_V=self.cid2unichr_v,
+ )
+- fp.write(pickle.dumps(data))
++ fp.write(pickle.dumps(data, protocol=2))
+ return
+
+ # main
More information about the Python-modules-commits
mailing list