[Python-checkins] r88330 - python/branches/py3k/Lib/urllib/request.py

georg.brandl python-checkins at python.org
Thu Feb 3 08:46:41 CET 2011


Author: georg.brandl
Date: Thu Feb  3 08:46:41 2011
New Revision: 88330

Log:
Remove lots of spaces within exception message.

Modified:
   python/branches/py3k/Lib/urllib/request.py

Modified: python/branches/py3k/Lib/urllib/request.py
==============================================================================
--- python/branches/py3k/Lib/urllib/request.py	(original)
+++ python/branches/py3k/Lib/urllib/request.py	Thu Feb  3 08:46:41 2011
@@ -1057,8 +1057,8 @@
                     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(


More information about the Python-checkins mailing list