[Python-apps-commits] r10941 - in packages/spambayes/trunk/debian/patches (asyncore.patch)

hugo6390-guest at users.alioth.debian.org hugo6390-guest at users.alioth.debian.org
Fri Jun 13 11:20:47 UTC 2014


    Date: Friday, June 13, 2014 @ 11:20:47
  Author: hugo6390-guest
Revision: 10941

Added asyncore.patch

Added:
  packages/spambayes/trunk/debian/patches/asyncore.patch

Added: packages/spambayes/trunk/debian/patches/asyncore.patch
===================================================================
--- packages/spambayes/trunk/debian/patches/asyncore.patch	                        (rev 0)
+++ packages/spambayes/trunk/debian/patches/asyncore.patch	2014-06-13 11:20:47 UTC (rev 10941)
@@ -0,0 +1,14 @@
+Fixes an error when importing asyncore and asynchat.
+Index: spambayes-1.1b1/spambayes/Dibbler.py
+===================================================================
+--- spambayes-1.1b1.orig/spambayes/Dibbler.py	2011-01-22 16:15:06.000000000 +0100
++++ spambayes-1.1b1/spambayes/Dibbler.py	2014-06-13 13:17:48.798261574 +0200
+@@ -183,7 +183,7 @@
+     RSTRIP_CHARS_AVAILABLE = True
+ 
+ from spambayes.port import md5
+-from spambayes import asyncore, asynchat
++import asyncore, asynchat
+ 
+ class BrighterAsyncChat(asynchat.async_chat):
+     """An asynchat.async_chat that doesn't give spurious warnings on




More information about the Python-apps-commits mailing list