Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 527e64f

Browse files
committed
Whitespace normalization.
1 parent 2f93e28 commit 527e64f

18 files changed

Lines changed: 65 additions & 65 deletions

Lib/difflib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ def _qformat(self, aline, bline, atags, btags):
946946

947947
yield "- " + aline
948948
if atags:
949-
yield "? %s%s\n" % ("\t" * common, atags)
949+
yield "? %s%s\n" % ("\t" * common, atags)
950950

951951
yield "+ " + bline
952952
if btags:

Lib/email/Encoders.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from quopri import encodestring as _encodestring
99

1010

11-
11+
1212
# Helpers
1313
def _qencode(s):
1414
return _encodestring(s, quotetabs=1)
@@ -26,7 +26,7 @@ def _bencode(s):
2626
return value
2727

2828

29-
29+
3030
def encode_base64(msg):
3131
"""Encode the message's payload in Base64.
3232
@@ -38,7 +38,7 @@ def encode_base64(msg):
3838
msg['Content-Transfer-Encoding'] = 'base64'
3939

4040

41-
41+
4242
def encode_quopri(msg):
4343
"""Encode the message's payload in Quoted-Printable.
4444
@@ -50,7 +50,7 @@ def encode_quopri(msg):
5050
msg['Content-Transfer-Encoding'] = 'quoted-printable'
5151

5252

53-
53+
5454
def encode_7or8bit(msg):
5555
"""Set the Content-Transfer-Encoding: header to 7bit or 8bit."""
5656
orig = msg.get_payload()
@@ -64,6 +64,6 @@ def encode_7or8bit(msg):
6464
msg['Content-Transfer-Encoding'] = '7bit'
6565

6666

67-
67+
6868
def encode_noop(msg):
6969
"""Do nothing."""

Lib/email/Errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66

77

8-
8+
99
class MessageError(Exception):
1010
"""Base class for errors in this module."""
1111

Lib/email/Generator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
fcre = re.compile(r'^From ', re.MULTILINE)
2626

2727

28-
28+
2929
class Generator:
3030
"""Generates output from a Message object tree.
3131
@@ -278,7 +278,7 @@ def _handle_message(self, msg):
278278
self._fp.write(s.getvalue())
279279

280280

281-
281+
282282
class DecodedGenerator(Generator):
283283
"""Generator a text representation of a message.
284284
@@ -334,7 +334,7 @@ def _dispatch(self, msg):
334334
}
335335

336336

337-
337+
338338
# Helper
339339
def _make_boundary(self, text=None):
340340
# Craft a random boundary. If text is given, ensure that the chosen

Lib/email/Iterators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from types import StringType
1010

1111

12-
12+
1313
def body_line_iterator(msg):
1414
"""Iterate over the parts, returning string payloads line-by-line."""
1515
for subpart in msg.walk():
@@ -19,7 +19,7 @@ def body_line_iterator(msg):
1919
yield line
2020

2121

22-
22+
2323
def typed_subpart_iterator(msg, maintype='text', subtype=None):
2424
"""Iterate over the subparts with a given MIME type.
2525

Lib/email/MIMEBase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import Message
88

99

10-
10+
1111
class MIMEBase(Message.Message):
1212
"""Base class for MIME specializations."""
1313

Lib/email/MIMEImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import Encoders
1313

1414

15-
15+
1616
class MIMEImage(MIMEBase.MIMEBase):
1717
"""Class for generating image/* type MIME documents."""
1818

Lib/email/MIMEMessage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import MIMEBase
99

1010

11-
11+
1212
class MIMEMessage(MIMEBase.MIMEBase):
1313
"""Class representing message/* MIME documents."""
1414

Lib/email/MIMEText.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from Encoders import encode_7or8bit
99

1010

11-
11+
1212
class MIMEText(MIMEBase.MIMEBase):
1313
"""Class for generating text/* type MIME documents."""
1414

Lib/email/Message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
paramre = re.compile(r';\s*')
2121

2222

23-
23+
2424
class Message:
2525
"""Basic message object for use inside the object tree.
2626
@@ -430,7 +430,7 @@ def walk(self):
430430

431431
def get_charsets(self, failobj=None):
432432
"""Return a list containing the charset(s) used in this message.
433-
433+
434434
The returned list of items describes the Content-Type: headers'
435435
charset parameter for this message and all the subparts in its
436436
payload.

0 commit comments

Comments
 (0)