summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index a3c0ea6..55ed3d1 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -247,9 +247,9 @@ def parse_multipart(fp, pdict):
if pdict.has_key('boundary'):
boundary = pdict['boundary']
if not valid_boundary(boundary):
- raise ValueError, ('Invalid boundary in multipart form: %s'
+ raise ValueError, ('Invalid boundary in multipart form: %s'
% `ib`)
-
+
nextpart = "--" + boundary
lastpart = "--" + boundary + "--"
partdict = {}
@@ -600,7 +600,7 @@ class FieldStorage:
"""Internal: read a part that is itself multipart."""
ib = self.innerboundary
if not valid_boundary(ib):
- raise ValueError, ('Invalid boundary in multipart form: %s'
+ raise ValueError, ('Invalid boundary in multipart form: %s'
% `ib`)
self.list = []
klass = self.FieldStorageClass or self.__class__