diff mercurial/httpclient/_readers.py @ 27601:1ad9da968a2e

httpclient: update to 938f2107d6e2 of httpplus This enhances proxy support in httpclient a little bit, though I don't know that we used that functionality at all. It also switches httpplus to using absolute_import.
author Augie Fackler <augie@google.com>
date Thu, 31 Dec 2015 13:19:20 -0500
parents fae47ecaa952
children 8a66eda46c98
line wrap: on
line diff
--- a/mercurial/httpclient/_readers.py	Thu Dec 31 15:39:38 2015 +0000
+++ b/mercurial/httpclient/_readers.py	Thu Dec 31 13:19:20 2015 -0500
@@ -31,6 +31,7 @@
 This module is package-private. It is not expected that these will
 have any clients outside of httpplus.
 """
+from __future__ import absolute_import
 
 import httplib
 import logging
@@ -98,11 +99,12 @@
         return result
 
     def readto(self, delimstr, blocks = None):
-        """return available data chunks up to the first one in which delimstr
-        occurs. No data will be returned after delimstr -- the chunk in which
-        it occurs will be split and the remainder pushed back onto the available
-        data queue. If blocks is supplied chunks will be added to blocks, otherwise
-        a new list will be allocated.
+        """return available data chunks up to the first one in which
+        delimstr occurs. No data will be returned after delimstr --
+        the chunk in which it occurs will be split and the remainder
+        pushed back onto the available data queue. If blocks is
+        supplied chunks will be added to blocks, otherwise a new list
+        will be allocated.
         """
         if blocks is None:
             blocks = []