From bd7cbc611212f42202889e33e1672b25852efa24 Mon Sep 17 00:00:00 2001 From: bescoto Date: Mon, 21 Jul 2003 19:34:57 +0000 Subject: Bug fixes relating to the way quoting_enabled was removed git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@352 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/Globals.py | 4 ---- rdiff-backup/rdiff_backup/Main.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py index 018d016..2338659 100644 --- a/rdiff-backup/rdiff_backup/Globals.py +++ b/rdiff-backup/rdiff_backup/Globals.py @@ -133,10 +133,6 @@ changed_settings = [] # The RPath or QuotedRPath of the rdiff-backup-data directory. rbdir = None -# quoting_enabled is true if we should quote certain characters in -# filenames on the source side (see FilenameMapping for more -# info). - # chars_to_quote is a string whose characters should be quoted. It # should be true if certain characters in filenames on the source side # should be escaped (see FilenameMapping for more info). diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py index 5fefef0..dc63246 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -627,7 +627,7 @@ def ListAtTime(rp): def CheckDest(dest_rp): """Check the destination directory, """ - if Globals.quoting_enabled: + if Globals.chars_to_quote: dest_rp = FilenameMapping.get_quotedrpath(dest_rp) if Globals.rbdir is None: SetConnections.UpdateGlobal('rbdir', -- cgit v1.2.1