diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:16:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:16:38 (GMT) |
commit | 7fa767e517882f4d3503d168d3a4d4caad317752 (patch) | |
tree | cc4c73326ee706456b2c8de8530fed453e582b69 /Lib/email/header.py | |
parent | 69b1e261fc703106b44095796d78ba6aacbbdb63 (diff) | |
download | cpython-7fa767e517882f4d3503d168d3a4d4caad317752.zip cpython-7fa767e517882f4d3503d168d3a4d4caad317752.tar.gz cpython-7fa767e517882f4d3503d168d3a4d4caad317752.tar.bz2 |
Issue #20976: pyflakes: Remove unused imports
Diffstat (limited to 'Lib/email/header.py')
-rw-r--r-- | Lib/email/header.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/email/header.py b/Lib/email/header.py index 5bd0638..9c89589 100644 --- a/Lib/email/header.py +++ b/Lib/email/header.py @@ -100,7 +100,6 @@ def decode_header(header): words.append((encoded, encoding, charset)) # Now loop over words and remove words that consist of whitespace # between two encoded strings. - import sys droplist = [] for n, w in enumerate(words): if n>1 and w[1] and words[n-2][1] and words[n-1][0].isspace(): @@ -362,7 +361,6 @@ class Header: for string, charset in self._chunks: if hasspace is not None: hasspace = string and self._nonctext(string[0]) - import sys if lastcs not in (None, 'us-ascii'): if not hasspace or charset not in (None, 'us-ascii'): formatter.add_transition() |