Commit 0c5e049c authored by Guido van Rossum's avatar Guido van Rossum

Reindented with 4 spaces.

parent 7cfd31ee
......@@ -421,8 +421,7 @@ class Folder:
else:
if n not in all:
if isnumeric(seq):
raise Error, \
"message %d doesn't exist" % n
raise Error, "message %d doesn't exist" % n
else:
raise Error, "no %s message" % seq
else:
......@@ -686,8 +685,7 @@ class Message(mimetools.Message):
# (almost) as a Message object.
def getbodyparts(self):
if self.getmaintype() != 'multipart':
raise Error, \
'Content-Type is not multipart/*'
raise Error, 'Content-Type is not multipart/*'
bdry = self.getparam('boundary')
if not bdry:
raise Error, 'multipart/* without boundary param'
......@@ -894,8 +892,7 @@ def pickline(file, key, casefold = 1):
text = line[len(key)+1:]
while 1:
line = f.readline()
if not line or \
line[0] not in string.whitespace:
if not line or line[0] not in string.whitespace:
break
text = text + line
return string.strip(text)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment