diff options
-rw-r--r-- | rdiff-backup/rdiff_backup/Globals.py | 4 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/Main.py | 2 |
2 files changed, 1 insertions, 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', |