mercurial/httpclient/_readers.py
changeset 27601 1ad9da968a2e
parent 19182 fae47ecaa952
child 29131 8a66eda46c98
--- 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 = []