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

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 2 11:09:40 CET 2012


Author: aheinecke
Date: 2012-03-02 11:09:39 +0100 (Fri, 02 Mar 2012)
New Revision: 356

Modified:
   branches/compression/inteproxy/httpmessage.py
Log:
Fix indention


Modified: branches/compression/inteproxy/httpmessage.py
===================================================================
--- branches/compression/inteproxy/httpmessage.py	2012-02-29 09:57:31 UTC (rev 355)
+++ branches/compression/inteproxy/httpmessage.py	2012-03-02 10:09:39 UTC (rev 356)
@@ -155,8 +155,8 @@
         super(HTTPResponseMessage, self).debug_log_message(log_function)
 
     def read_entire_message(self):
-        """
-        Read the entire message and set the messages body.
+        """ Read the entire message and set the messages body.
+
         If the optional decompressor parameter is given the
         body will be decompressed.
         """
@@ -226,7 +226,7 @@
                             decompressobj(16 + MAX_WBITS))
                 else:
                     raise Exception("Invalid decompress method"
-                            " in HTTPResponse")
+                                    " in HTTPResponse")
             else:
                 self._body_stream = self.infile
         return self._body_stream.read(amount)



More information about the Inteproxy-commits mailing list