From ca61c5fad0f30702b0a43fb34d3b4afd41fc5e54 Mon Sep 17 00:00:00 2001 From: owsla Date: Sat, 7 Jul 2007 19:58:37 +0000 Subject: Make --check-destination-dir handle quoted situations. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@812 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/Main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rdiff-backup/rdiff_backup/Main.py') diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py index 50efbcf..a363aa5 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -773,11 +773,7 @@ def Verify(dest_rp, verify_time = None): def CheckDest(dest_rp): """Check the destination directory, """ - if Globals.chars_to_quote: - dest_rp = FilenameMapping.get_quotedrpath(dest_rp) - if Globals.rbdir is None: - SetConnections.UpdateGlobal('rbdir', - dest_rp.append_path("rdiff-backup-data")) + dest_rp = require_root_set(dest_rp, 0) need_check = checkdest_need_check(dest_rp) if need_check is None: Log.FatalError("No destination dir found at %s" % (dest_rp.path,)) -- cgit v1.2.1