From 9ac14ccd2b7426565bb53096b38787b6305c7e90 Mon Sep 17 00:00:00 2001 From: "willmcgugan@gmail.com" Date: Tue, 10 Sep 2013 23:30:28 +0000 Subject: Added missing methods to RawWrapper git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@880 67cdc799-7952-0410-af00-57a81ceafa0f --- fs/iotools.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/iotools.py b/fs/iotools.py index ce243c1..296efd3 100644 --- a/fs/iotools.py +++ b/fs/iotools.py @@ -93,6 +93,12 @@ class RawWrapper(object): b[:len(data)] = data return bytes_read + def readline(self, limit=-1): + return self._f.readline(limit) + + def readlines(self, hint=-1): + return self._f.readlines(hint) + def writelines(self, sequence): return self._f.writelines(sequence) -- cgit v1.2.1