diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-10 00:22:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-10 00:22:33 +0000 |
commit | 6e025bcde84ec358734a116cefcc4acc357ee0b1 (patch) | |
tree | 0e9d1e6ec181e63e8a88d7af05e2e9e49f2ca294 /Lib/mimify.py | |
parent | String method cleanup. (diff) | |
download | cpython-6e025bcde84ec358734a116cefcc4acc357ee0b1.tar.gz cpython-6e025bcde84ec358734a116cefcc4acc357ee0b1.tar.bz2 cpython-6e025bcde84ec358734a116cefcc4acc357ee0b1.zip |
String method cleanup.
Diffstat (limited to 'Lib/mimify.py')
-rwxr-xr-x | Lib/mimify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimify.py b/Lib/mimify.py index 64e988bc1d4..c856910b61f 100755 --- a/Lib/mimify.py +++ b/Lib/mimify.py @@ -110,7 +110,7 @@ def mime_decode_header(line): break match = res.group(1) # convert underscores to spaces (before =XX conversion!) - match = ' '.join(string.split(match, '_')) + match = ' '.join(match.split('_')) newline = newline + line[pos:res.start(0)] + mime_decode(match) pos = res.end(0) return newline + line[pos:] |