diff options
author | verigak <verigak@1ebed218-b0a3-11dd-8075-91d349ce83ee> | 2010-01-02 17:20:55 +0000 |
---|---|---|
committer | verigak <verigak@1ebed218-b0a3-11dd-8075-91d349ce83ee> | 2010-01-02 17:20:55 +0000 |
commit | 7d04fe5a34785f9116291e1c92f71a13dbfc2447 (patch) | |
tree | e00620bebc4e80471319f4daa13a7d2414f4af14 /fuse.py | |
parent | 32bc93ffbff3144a97f33bcc6cc13d098781217d (diff) | |
download | fusepy-7d04fe5a34785f9116291e1c92f71a13dbfc2447.tar.gz |
Changed default read implementation to raise a more meaningful error.
git-svn-id: http://fusepy.googlecode.com/svn/trunk@39 1ebed218-b0a3-11dd-8075-91d349ce83ee
Diffstat (limited to 'fuse.py')
-rw-r--r-- | fuse.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -579,7 +579,7 @@ class Operations(object): def read(self, path, size, offset, fh): """Returns a string containing the data requested.""" - raise OSError(ENOENT, '') + raise OSError(EIO, '') def readdir(self, path, fh): """Can return either a list of names, or a list of (name, attrs, offset) |