summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-21 19:34:57 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-21 19:34:57 +0000
commitbd7cbc611212f42202889e33e1672b25852efa24 (patch)
treebdfa4795b2a78092276947e9e4b2f921a61ad8a4
parent2ad21b33436868c2a1eecbe58d99fbdb12b4132f (diff)
downloadrdiff-backup-bd7cbc611212f42202889e33e1672b25852efa24.tar.gz
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
-rw-r--r--rdiff-backup/rdiff_backup/Globals.py4
-rw-r--r--rdiff-backup/rdiff_backup/Main.py2
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',