"ib" should be "boundary"; reported by Neal Norwitz.

This commit is contained in:
Fred Drake 2001-10-13 18:38:53 +00:00
parent c680ae8002
commit 4c85da4d16
1 changed files with 1 additions and 1 deletions

View File

@ -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 + "--"