From 7b991ea416962a19defef9ce6975f65739fa7b05 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 27 Mar 2002 19:32:26 +0000 Subject: 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 --- rdiff-backup/src/main.py | 4 ++-- 1 file 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()) -- cgit v1.2.1