mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
"ib" should be "boundary"; reported by Neal Norwitz.
This commit is contained in:
parent
c680ae8002
commit
4c85da4d16
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue