freebsd-ports/mail/py-spambayes/files/extra-patch-python26
Li-Wen Hsu 789806859c - Add a patch for working with Python 2.6
PR:		ports/136644 (based on)
Submitted by:	Martin Dieringer <martin.dieringer AT gmx.de>
2009-07-23 07:03:15 +00:00

11 lines
507 B
Text

--- spambayes/Dibbler.py~ 2009-07-10 21:43:59.000000000 +0200
+++ spambayes/Dibbler.py 2009-07-10 21:44:37.655326444 +0200
@@ -218,7 +218,7 @@
# self.initiate_send() raises an exception, causing self.close()
# to be called. If we didn't check, we could end up in an infinite
# loop.
- while (self.producer_fifo or self.ac_out_buffer) and not self._closed:
+ while (self.producer_fifo) and not self._closed:
self.initiate_send()
def close(self):