[Python-modules-commits] r14299 - in packages/pdfminer/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sun Aug 29 09:43:46 UTC 2010


    Date: Sunday, August 29, 2010 @ 09:43:44
  Author: jwilk
Revision: 14299

Use pickle protocol 2 for serializing data.

Added:
  packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff
Modified:
  packages/pdfminer/trunk/debian/changelog
  packages/pdfminer/trunk/debian/patches/series

Modified: packages/pdfminer/trunk/debian/changelog
===================================================================
--- packages/pdfminer/trunk/debian/changelog	2010-08-29 09:25:44 UTC (rev 14298)
+++ packages/pdfminer/trunk/debian/changelog	2010-08-29 09:43:44 UTC (rev 14299)
@@ -3,9 +3,11 @@
   * New upstream release.
   * Add mutual Breaks to ensure that if python-pdfminer and pdfminer-data are
     installed together, they have the same version.
+  * Use pickle protocol 2 for serializing data. [pickle-protocol-2.diff]
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 29 Aug 2010 11:20:35 +0200
 
+ -- Jakub Wilk <jwilk at debian.org>  Sun, 29 Aug 2010 11:39:13 +0200
+
 pdfminer (20100619p1+dfsg-1) experimental; urgency=low
 
   * New upstream release.

Added: packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff
===================================================================
--- packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff	                        (rev 0)
+++ packages/pdfminer/trunk/debian/patches/pickle-protocol-2.diff	2010-08-29 09:43:44 UTC (rev 14299)
@@ -0,0 +1,14 @@
+Description: Use pickle protocol 2 for serializing data.
+Author: Jakub Wilk <jwilk at debian.org>
+
+--- 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()
+ 
+     return 0

Modified: packages/pdfminer/trunk/debian/patches/series
===================================================================
--- packages/pdfminer/trunk/debian/patches/series	2010-08-29 09:25:44 UTC (rev 14298)
+++ packages/pdfminer/trunk/debian/patches/series	2010-08-29 09:43:44 UTC (rev 14299)
@@ -0,0 +1 @@
+pickle-protocol-2.diff




More information about the Python-modules-commits mailing list