[Inteproxy-commits] r349 - branches/compression/inteproxy

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 22 18:58:14 CET 2012


Author: aheinecke
Date: 2012-02-22 18:58:14 +0100 (Wed, 22 Feb 2012)
New Revision: 349

Modified:
   branches/compression/inteproxy/httpmessage.py
Log:
Break lines at 80 characters in the docstring and
change indention a bit.


Modified: branches/compression/inteproxy/httpmessage.py
===================================================================
--- branches/compression/inteproxy/httpmessage.py	2012-02-22 17:08:53 UTC (rev 348)
+++ branches/compression/inteproxy/httpmessage.py	2012-02-22 17:58:14 UTC (rev 349)
@@ -81,11 +81,12 @@
 
     def read(self, amount):
         """ Read data from the messagebody
-            Parameters:
-                amount -- the amount of (possibly compressed) bytes to read
-            Returns:
-                A string representing the data from the amount of bytes in the message.
-                This can be significantly larger then the "amount" parameter.
+        Parameters:
+            amount -- the amount of (possibly compressed) bytes to read
+        Returns:
+            A string representing the data from the amount of bytes in
+            the message.
+            This can be significantly larger then the "amount" parameter.
         """
         if self._body_stream is None and self.body_has_been_read():
             self._body_stream = StringIO(self.body)



More information about the Inteproxy-commits mailing list