Commit 0ed03fc0 authored by dgaudet's avatar dgaudet

Fix fs_abilities.py patch error with set_escape_dos_devices.

(Marc Dyksterhouse)


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@788 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 0c48f6ce
New in v1.1.9 (????/??/??) New in v1.1.9 (????/??/??)
-------------------------- --------------------------
Fix fs_abilities.py patch error with set_escape_dos_devices.
(Marc Dyksterhouse)
Glob escaping support via backslash. (Andrew Price) Glob escaping support via backslash. (Andrew Price)
......
...@@ -442,10 +442,6 @@ def get_readonly_fsa(desc_string, rp): ...@@ -442,10 +442,6 @@ def get_readonly_fsa(desc_string, rp):
""" """
return FSAbilities(desc_string).init_readonly(rp) return FSAbilities(desc_string).init_readonly(rp)
def set_escape_dos_devices(self):
SetConnections.UpdateGlobal('escape_dos_devices', \
self.dest_fsa.escape_dos_devices)
class SetGlobals: class SetGlobals:
"""Various functions for setting Globals vars given FSAbilities above """Various functions for setting Globals vars given FSAbilities above
...@@ -499,6 +495,10 @@ class SetGlobals: ...@@ -499,6 +495,10 @@ class SetGlobals:
SetConnections.UpdateGlobal('symlink_perms', SetConnections.UpdateGlobal('symlink_perms',
self.dest_fsa.symlink_perms) self.dest_fsa.symlink_perms)
def set_escape_dos_devices(self):
SetConnections.UpdateGlobal('escape_dos_devices', \
self.dest_fsa.escape_dos_devices)
class BackupSetGlobals(SetGlobals): class BackupSetGlobals(SetGlobals):
"""Functions for setting fsa related globals for backup session""" """Functions for setting fsa related globals for backup session"""
def update_triple(self, src_support, dest_support, attr_triple): def update_triple(self, src_support, dest_support, attr_triple):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment