summaryrefslogtreecommitdiff
path: root/fs/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'fs/remote.py')
-rw-r--r--fs/remote.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/remote.py b/fs/remote.py
index 19cceb1..573b37f 100644
--- a/fs/remote.py
+++ b/fs/remote.py
@@ -158,6 +158,11 @@ class RemoteFileBuffer(object):
# TODO: implement this with on-demand loading.
self._fillbuffer()
return self.file.__iter__()
+
+ def readline(self):
+ # TODO: implement this with on-demand loading.
+ self._fillbuffer()
+ return self.file.readline()
def _read(self, length=None):
"""Read data from the remote file into the local buffer."""