Message78763
| Author |
chris.mahan |
| Recipients |
ajaksu2, chris.mahan, vstinner |
| Date |
2009年01月02日.06:50:17 |
| SpamBayes Score |
0.0016354771 |
| Marked as misclassified |
No |
| Message-id |
<1230879018.47.0.43911067427.issue4791@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I added the following two lines and I was able to run the code.
Before:
line = fp.readline()
if self.debugging > 2: print('*retr*', repr(line))
if not line:
break
if line[-2:] == CRLF:
line = line[:-2]
elif line[-1:] == '\n':
line = line[:-1]
callback(line)
After:
line = fp.readline()
if self.debugging > 2: print('*retr*', repr(line))
if not line:
break
if line == '':
break
if line[-2:] == CRLF:
line = line[:-2]
elif line[-1:] == '\n':
line = line[:-1]
callback(line)
As a patch:
426,427d425
< if line == '':
< break
What else do I need to do? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月02日 06:50:18 | chris.mahan | set | recipients:
+ chris.mahan, vstinner, ajaksu2 |
| 2009年01月02日 06:50:18 | chris.mahan | set | messageid: <1230879018.47.0.43911067427.issue4791@psf.upfronthosting.co.za> |
| 2009年01月02日 06:50:17 | chris.mahan | link | issue4791 messages |
| 2009年01月02日 06:50:17 | chris.mahan | create |
|