diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-03-27 19:32:26 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-03-27 19:32:26 +0000 |
commit | 7b991ea416962a19defef9ce6975f65739fa7b05 (patch) | |
tree | 866434ad8ce68954878c31b318d04025704df10b | |
parent | 68c8927cba32549f089a2732704ef1babbfe9927 (diff) | |
download | rdiff-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
-rwxr-xr-x | rdiff-backup/src/main.py | 4 |
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()) |