summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Main.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-03-25 23:14:58 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-03-25 23:14:58 +0000
commit327bb973694f3f4df68568a61c4f71469dce9058 (patch)
tree00ed6f8c6469eec0016fb5730fa6c63fdb0549ad /rdiff-backup/rdiff_backup/Main.py
parent11485e22137627864f6230c73317a9f9cc89bc3d (diff)
downloadrdiff-backup-327bb973694f3f4df68568a61c4f71469dce9058.tar.gz
Checked in Robert Shaw's --chars-to-quote patch
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@558 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r--rdiff-backup/rdiff_backup/Main.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py
index 07ca149..2f36859 100644
--- a/rdiff-backup/rdiff_backup/Main.py
+++ b/rdiff-backup/rdiff_backup/Main.py
@@ -502,7 +502,7 @@ def restore_set_fs_globals(target):
if src_support: Globals.rbdir.conn.Globals.set_local(conn_attr, 1)
target_fsa = target.conn.fs_abilities.get_fsabilities_readwrite(
- 'destination', target, 0)
+ 'destination', target, 0, Globals.chars_to_quote)
Log(str(target_fsa), 3)
mirror_fsa = Globals.rbdir.conn.fs_abilities.get_fsabilities_restoresource(
Globals.rbdir)
@@ -687,7 +687,8 @@ def single_set_fs_globals(rbdir):
SetConnections.UpdateGlobal(write_attr, 1)
rbdir.conn.Globals.set_local(conn_attr, 1)
- fsa = rbdir.conn.fs_abilities.get_fsabilities_readwrite('archive', rbdir)
+ fsa = rbdir.conn.fs_abilities.get_fsabilities_readwrite('archive',
+ rbdir, 1, Globals.chars_to_quote)
Log(str(fsa), 3)
update_triple(fsa.eas, ('eas_active', 'eas_write', 'eas_conn'))