summaryrefslogtreecommitdiff
path: root/mail/py-spambayes/files/patch-spambayes_Dibbler.py
diff options
context:
space:
mode:
Diffstat (limited to 'mail/py-spambayes/files/patch-spambayes_Dibbler.py')
-rw-r--r--mail/py-spambayes/files/patch-spambayes_Dibbler.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/py-spambayes/files/patch-spambayes_Dibbler.py b/mail/py-spambayes/files/patch-spambayes_Dibbler.py
new file mode 100644
index 000000000000..a2ab6a17175d
--- /dev/null
+++ b/mail/py-spambayes/files/patch-spambayes_Dibbler.py
@@ -0,0 +1,11 @@
+--- 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):