From b9534f4ed5cb8c78468868d2ca44769057084d83 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Thu, 7 Mar 2013 18:15:13 -0500 Subject: [PATCH] PEP8 fixup on previous patch, remove unused import in test_email. --- Lib/email/generator.py | 2 +- Lib/email/test/test_email.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/email/generator.py b/Lib/email/generator.py index cba0382fedb..ab37e94dbee 100644 --- a/Lib/email/generator.py +++ b/Lib/email/generator.py @@ -129,7 +129,7 @@ class Generator: 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 index 5e61a7b97a2..a1ceb7f1b54 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -9,7 +9,6 @@ import time import base64 import difflib import unittest -import warnings import textwrap from io import StringIO, BytesIO