Package: enemies-of-carlotta
Version: 1.2.5-1
Severity: normal
Tags: patch
When [EMAIL PROTECTED] is mailed from an address
which isn't the admin, EoC dies:
Traceback (most recent call last):
File "/usr/bin/enemies-of-carlotta", line 16, in ?
eoc.main(sys.argv[1:])
File "/usr/share/enemies-of-carlotta/eoc.py", line 1697, in main
mlm.incoming_message(skip_prefix, domain, moderate, post)
File "/usr/share/enemies-of-carlotta/eoc.py", line 408, in incoming_message
list.obey(dict)
File "/usr/share/enemies-of-carlotta/eoc.py", line 1106, in obey
self.obey_setlistsilently(text)
File "/usr/share/enemies-of-carlotta/eoc.py", line 660, in
obey_setlistsilently
self.info_message([recipient], "setlist-sorry", {})
AttributeError: MailingList instance has no attribute 'info_message'
This looks like a simple typo in eoc.py and I've attached a patch which
fixes the problem.
Regards,
Dominic (on behalf of my employer Black Cat Networks)
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Versions of packages enemies-of-carlotta depends on:
ii procmail 3.22-16 Versatile e-mail processor
ii python 2.4.4-2 An interactive high-level object-o
ii python-support 0.5.6 automated rebuilding support for p
enemies-of-carlotta recommends no packages.
-- no debconf information
--- eoc.py.orig 2006-12-13 15:41:26.000000000 +0000
+++ eoc.py 2007-03-14 16:59:39.000000000 +0000
@@ -657,7 +657,7 @@
"boundary": self.invent_boundary(),
})
else:
- self.info_message([recipient], "setlist-sorry", {})
+ self.send_info_message([recipient], "setlist-sorry", {})
def parse_setlist_addresses(self, text):
body = text.split("\n\n", 1)[1]