summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-09 21:40:30 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-09 21:40:30 (GMT)
commitab9ba27dc066adc6423ea137b9481cf524d10ffd (patch)
treec49709063ec8de0eae358ef462e9fe5faa0c44a0 /Lib/cgi.py
parentc7ca3ffba3d41f24f6f66d40391a044f199785ac (diff)
downloadcpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.zip
cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.gz
cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.bz2
Whitespace normalization.
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__