PEP8 fixup on previous patch, remove unused import in test_email.

This commit is contained in:
R David Murray 2013-03-07 18:15:13 -05:00
parent e67c6c545b
commit b9534f4ed5
2 changed files with 1 additions and 2 deletions

View file

@ -129,7 +129,7 @@ class Generator:
self.write(self._NL) self.write(self._NL)
laststripped = lines[-1].rstrip('\r\n') laststripped = lines[-1].rstrip('\r\n')
self.write(laststripped) self.write(laststripped)
if len(lines[-1])!=len(laststripped): if len(lines[-1]) != len(laststripped):
self.write(self._NL) self.write(self._NL)
def _write(self, msg): def _write(self, msg):

View file

@ -9,7 +9,6 @@ import time
import base64 import base64
import difflib import difflib
import unittest import unittest
import warnings
import textwrap import textwrap
from io import StringIO, BytesIO from io import StringIO, BytesIO