summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-13 18:38:53 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-13 18:38:53 (GMT)
commit4c85da4d164d11772f5f4fce8c4ed961065c514a (patch)
tree233e78bd287a692a66aa09323c0dbd7e2a0c3e7b
parentc680ae8002e955ef616741ae59338f0cde0f2ff8 (diff)
downloadcpython-4c85da4d164d11772f5f4fce8c4ed961065c514a.zip
cpython-4c85da4d164d11772f5f4fce8c4ed961065c514a.tar.gz
cpython-4c85da4d164d11772f5f4fce8c4ed961065c514a.tar.bz2
"ib" should be "boundary"; reported by Neal Norwitz.
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 19304af..9ad6758 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -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 + "--"