projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d740cc
)
Don't use deprecated string module.
author
Chris Lamb
<lamby@debian.org>
Fri, 30 Oct 2009 13:47:46 +0000
(13:47 +0000)
committer
Chris Lamb
<lamby@debian.org>
Fri, 30 Oct 2009 14:29:57 +0000
(14:29 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/utils.py
patch
|
blob
|
history
diff --git
a/daklib/utils.py
b/daklib/utils.py
index 80e8d68f0ccd5b4ce75cab5c822114d07c18d6f0..6a0e5321545a943ea285f8e52b728335591cb5e7 100755
(executable)
--- 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"):