]> granicus.if.org Git - python/commitdiff
Remove lots of spaces within exception message.
authorGeorg Brandl <georg@python.org>
Thu, 3 Feb 2011 07:46:41 +0000 (07:46 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 3 Feb 2011 07:46:41 +0000 (07:46 +0000)
Lib/urllib/request.py

index 4436105a07d0a7ad1af3b0d57d7f8dd2448802d8..a188393f7986da46210ede26785b8d5e57427f18 100644 (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(