[Python-checkins] cpython (3.2): PEP8 fixup on previous patch, remove unused import in test_email.
r.david.murray
python-checkins at python.org
Fri Mar 8 00:17:46 CET 2013
http://hg.python.org/cpython/rev/c8b2ed53b884
changeset: 82537:c8b2ed53b884
branch: 3.2
parent: 82534:30c0f0dd0b94
user: R David Murray <rdmurray at bitdance.com>
date: Thu Mar 07 18:15:13 2013 -0500
summary:
PEP8 fixup on previous patch, remove unused import in test_email.
files:
Lib/email/generator.py | 2 +-
Lib/email/test/test_email.py | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Lib/email/generator.py b/Lib/email/generator.py
--- a/Lib/email/generator.py
+++ b/Lib/email/generator.py
@@ -129,7 +129,7 @@
self.write(self._NL)
laststripped = lines[-1].rstrip('\r\n')
self.write(laststripped)
- if len(lines[-1])!=len(laststripped):
+ if len(lines[-1]) != len(laststripped):
self.write(self._NL)
def _write(self, msg):
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py
--- a/Lib/email/test/test_email.py
+++ b/Lib/email/test/test_email.py
@@ -9,7 +9,6 @@
import base64
import difflib
import unittest
-import warnings
import textwrap
from io import StringIO, BytesIO
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list