summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/destructive_stepping.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/destructive_stepping.py')
-rw-r--r--rdiff-backup/src/destructive_stepping.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/src/destructive_stepping.py b/rdiff-backup/src/destructive_stepping.py
index 59effde..c5e2faa 100644
--- a/rdiff-backup/src/destructive_stepping.py
+++ b/rdiff-backup/src/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__."""