diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-05 03:28:57 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-05 03:28:57 +0000 |
commit | 6549259eab9e85ae0b26b6ced7f9b544ea156a0b (patch) | |
tree | d090afeeff0ccf0364ad693d13e9c8e5bf10975c /rdiff-backup/rdiff_backup/destructive_stepping.py | |
parent | 426b4ce41b90e0bf3b49764665e43382326c9375 (diff) | |
download | rdiff-backup-6549259eab9e85ae0b26b6ced7f9b544ea156a0b.tar.gz |
Various changes to work with new destructive_stepping initialization
code.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@69 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/destructive_stepping.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/destructive_stepping.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/destructive_stepping.py b/rdiff-backup/rdiff_backup/destructive_stepping.py index 59effde..c5e2faa 100644 --- a/rdiff-backup/rdiff_backup/destructive_stepping.py +++ b/rdiff-backup/rdiff_backup/destructive_stepping.py @@ -6,7 +6,7 @@ execfile("rorpiter.py") # destructive-stepping - Deal with side effects from traversing trees # -class DSRPathError(Exception): +class DSRPPermError(Exception): """Exception used when a DSRPath can't get sufficient permissions""" pass @@ -85,7 +85,7 @@ class DSRPath(RPath): def warn(self, err): Log("Received error '%s' when dealing with file %s, skipping..." % (err, self.path), 1) - raise DSRPathError(self.path) + raise DSRPermError(self.path) def __getstate__(self): """Return picklable state. See RPath __getstate__.""" |