From e6ff9b65bc4a3db801db6ef7dd6932866c0f13ae Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 13:47:46 +0000 Subject: [PATCH] Don't use deprecated string module. Signed-off-by: Chris Lamb --- daklib/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daklib/utils.py b/daklib/utils.py index 80e8d68f..6a0e5321 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -36,7 +36,6 @@ import stat import apt_pkg import time import re -import string import email as modemail import subprocess @@ -615,7 +614,7 @@ def send_mail (message, filename=""): if len(match) == 0: del message_raw[field] else: - message_raw.replace_header(field, string.join(match, ", ")) + message_raw.replace_header(field, ', '.join(match)) # Change message fields in order if we don't have a To header if not message_raw.has_key("To"): -- 2.39.5