"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']
|
||||
if not valid_boundary(boundary):
|
||||
raise ValueError, ('Invalid boundary in multipart form: %s'
|
||||
% `ib`)
|
||||
% `boundary`)
|
||||
|
||||
nextpart = "--" + boundary
|
||||
lastpart = "--" + boundary + "--"
|
||||
|
|
Loading…
Reference in New Issue