diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-09 21:40:30 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-09 21:40:30 (GMT) |
commit | ab9ba27dc066adc6423ea137b9481cf524d10ffd (patch) | |
tree | c49709063ec8de0eae358ef462e9fe5faa0c44a0 /Lib/cgi.py | |
parent | c7ca3ffba3d41f24f6f66d40391a044f199785ac (diff) | |
download | cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.zip cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.gz cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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__ |