mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
PEP8 fixup on previous patch, remove unused import in test_email.
This commit is contained in:
parent
e67c6c545b
commit
b9534f4ed5
2 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue