summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-27 19:32:26 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-27 19:32:26 +0000
commit7b991ea416962a19defef9ce6975f65739fa7b05 (patch)
tree866434ad8ce68954878c31b318d04025704df10b /rdiff-backup
parent68c8927cba32549f089a2732704ef1babbfe9927 (diff)
downloadrdiff-backup-7b991ea416962a19defef9ce6975f65739fa7b05.tar.gz
Fixed error messages in restore_check_paths
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-6@31 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rwxr-xr-xrdiff-backup/src/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/src/main.py b/rdiff-backup/src/main.py
index 24455f6..c207082 100755
--- a/rdiff-backup/src/main.py
+++ b/rdiff-backup/src/main.py
@@ -279,12 +279,12 @@ went wrong during your last backup? Using """ + mirrorrps[-1].path, 2)
def restore_check_paths(self, rpin, rpout):
"""Check paths and return pair of corresponding rps"""
if not rpin.lstat():
- Log.FatalError("Increment file %s does not exist" % src_path)
+ Log.FatalError("Increment file %s does not exist" % rpin.path)
if not rpin.isincfile():
Log.FatalError("""File %s does not look like an increment file.
Try restoring from an increment file (the filenames look like
-"foobar.2001-09-01T04:49:04-07:00.diff").""")
+"foobar.2001-09-01T04:49:04-07:00.diff").""" % rpin.path)
if not rpout: rpout = RPath(Globals.local_connection,
rpin.getincbase_str())