Kaydet (Commit) cd975761 authored tarafından Guido van Rossum's avatar Guido van Rossum

Only set msg.fp to None when there are no extra arguments; if there

are, we must keep the file around so we can print the body.
üst 12c6e2d4
......@@ -255,7 +255,8 @@ def _test():
if msg is None:
break
msgs.append(msg)
msg.fp = None
if len(args) <= 1:
msg.fp = None
if len(args) > 1:
num = string.atoi(args[1])
print 'Message %d body:'%num
......
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