[Python-modules-commits] r14250 - in packages/pyme/trunk/debian (3 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Mon Aug 23 14:14:15 UTC 2010
Date: Monday, August 23, 2010 @ 14:14:10
Author: jwilk
Revision: 14250
Add fix_import_error.patch to fix import error with Python >= 2.6.
Added:
packages/pyme/trunk/debian/patches/fix_import_error.patch
Modified:
packages/pyme/trunk/debian/changelog
packages/pyme/trunk/debian/patches/series
Modified: packages/pyme/trunk/debian/changelog
===================================================================
--- packages/pyme/trunk/debian/changelog 2010-08-23 12:47:28 UTC (rev 14249)
+++ packages/pyme/trunk/debian/changelog 2010-08-23 14:14:10 UTC (rev 14250)
@@ -1,3 +1,12 @@
+pyme (0.8.1+clean-4) UNRELEASED; urgency=low
+
+ * debian/patches:
+ + Add fix_import_error.patch to fix import error with Python >= 2.6
+ (closes: #589382). Thanks to Martin Manns for the bug report and to Uldis
+ Ansmits for the patch.
+
+ -- Jakub Wilk <jwilk at debian.org> Mon, 23 Aug 2010 16:05:54 +0200
+
pyme (0.8.1+clean-3) unstable; urgency=low
* debian/patches:
Added: packages/pyme/trunk/debian/patches/fix_import_error.patch
===================================================================
--- packages/pyme/trunk/debian/patches/fix_import_error.patch (rev 0)
+++ packages/pyme/trunk/debian/patches/fix_import_error.patch 2010-08-23 14:14:10 UTC (rev 14250)
@@ -0,0 +1,16 @@
+Description: Fix import error with Python >= 2.6.
+Author: Uldis Ansmits
+Bug-Debian: http://bugs.debian.org/589382
+Origin: http://sourceforge.net/mailarchive/forum.php?thread_name=3e30c11b0911252347n43c46a1am993ef916b0ef543c@mail.gmail.com&forum_name=pyme-help
+
+--- a/helpers.c
++++ b/helpers.c
+@@ -29,7 +29,7 @@
+ void pygpgme_exception_init(void) {
+ if (GPGMEError == NULL) {
+ PyObject *errors;
+- errors = PyImport_ImportModule("errors");
++ errors = PyImport_ImportModule("pyme.errors");
+ if (errors) {
+ GPGMEError=PyDict_GetItemString(PyModule_GetDict(errors), "GPGMEError");
+ Py_XINCREF(GPGMEError);
Modified: packages/pyme/trunk/debian/patches/series
===================================================================
--- packages/pyme/trunk/debian/patches/series 2010-08-23 12:47:28 UTC (rev 14249)
+++ packages/pyme/trunk/debian/patches/series 2010-08-23 14:14:10 UTC (rev 14250)
@@ -1,3 +1,4 @@
fix_docs_building.patch
build_with_lfs.patch
add_missing_check_version.patch
+fix_import_error.patch
More information about the Python-modules-commits
mailing list