"ib" should be "boundary"; reported by Neal Norwitz.
This commit is contained in:
parent
c680ae8002
commit
4c85da4d16
@ -248,7 +248,7 @@ def parse_multipart(fp, pdict):
|
|||||||
boundary = pdict['boundary']
|
boundary = pdict['boundary']
|
||||||
if not valid_boundary(boundary):
|
if not valid_boundary(boundary):
|
||||||
raise ValueError, ('Invalid boundary in multipart form: %s'
|
raise ValueError, ('Invalid boundary in multipart form: %s'
|
||||||
% `ib`)
|
% `boundary`)
|
||||||
|
|
||||||
nextpart = "--" + boundary
|
nextpart = "--" + boundary
|
||||||
lastpart = "--" + boundary + "--"
|
lastpart = "--" + boundary + "--"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user