Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b9534f4e
Commit
b9534f4e
authored
Mar 07, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PEP8 fixup on previous patch, remove unused import in test_email.
parent
e67c6c54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
Lib/email/generator.py
Lib/email/generator.py
+1
-1
Lib/email/test/test_email.py
Lib/email/test/test_email.py
+0
-1
No files found.
Lib/email/generator.py
View file @
b9534f4e
...
...
@@ -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
):
...
...
Lib/email/test/test_email.py
View file @
b9534f4e
...
...
@@ -9,7 +9,6 @@ import time
import
base64
import
difflib
import
unittest
import
warnings
import
textwrap
from
io
import
StringIO
,
BytesIO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment