Remove lots of spaces within exception message.

This commit is contained in:
Georg Brandl 2011-02-03 07:46:41 +00:00
parent e951e917c6
commit 6153604bc7

View file

@ -1057,8 +1057,8 @@ class AbstractHTTPHandler(BaseHandler):
mv = memoryview(data)
except TypeError:
if isinstance(data, collections.Iterable):
raise ValueError("Content-Length should be specified \
for iterable data of type %r %r" % (type(data),
raise ValueError("Content-Length should be specified "
"for iterable data of type %r %r" % (type(data),
data))
else:
request.add_unredirected_header(