address commands. See manual page for more information.
"""
-VERSION = "1.2.5"
+VERSION = "1.2.6"
PLUGIN_INTERFACE_VERSION = "1"
import getopt
-import md5
+import hashlib
import os
import shutil
import smtplib
def md5sum_as_hex(s):
- return md5.new(s).hexdigest()
-
+ return hashlib.md5(s).hexdigest()
def forkexec(argv, text):
"""Run a command (given as argv array) and write text to its stdin"""
"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]