diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2007-12-24 22:39:47 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2007-12-24 22:39:47 +0000 |
commit | c2df9f46b8a2c81aedceff403f0c49cab09d50b5 (patch) | |
tree | 945961d71c9c63a6560a2834fa7724bf73c34885 /rdiff-backup/rdiff_backup/rpath.py | |
parent | 231fe19bbb7c2101db97eef60c28232b0e4e4875 (diff) | |
download | rdiff-backup-c2df9f46b8a2c81aedceff403f0c49cab09d50b5.tar.gz |
- Replace is_readable() function with pre-existing readable() function
- Close Savannah bug #21202 by not assuming that file cannot be opened
even if read permissions don't indicate such.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@855 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/rpath.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/rpath.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py index 03562e3..d6f3655 100644 --- a/rdiff-backup/rdiff_backup/rpath.py +++ b/rdiff-backup/rdiff_backup/rpath.py @@ -599,10 +599,6 @@ class RORPath: """Signal that rorp is a signature/diff for a hardlink file""" self.data['linked'] = index - def is_readable(self): - """Check whether user can read the file or directory""" - return self.conn.os.access(self.path, self.conn.os.R_OK) - def open(self, mode): """Return file type object if any was given using self.setfile""" if mode != "rb": raise RPathException("Bad mode %s" % mode) |