summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-01-29 18:42:49 +0000
committerdgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-01-29 18:42:49 +0000
commit4d4d72b1feb77d761fc77bfb02f57867c6b784bf (patch)
tree9be04ae16e841cb015851c08a20aca730f07cca2
parent34713d974215b9d8dbade8ab5f3fcb59a5a3ded2 (diff)
downloadrdiff-backup-4d4d72b1feb77d761fc77bfb02f57867c6b784bf.tar.gz
Fix fs_abilities.py patch error with set_escape_dos_devices.
(Marc Dyksterhouse) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@788 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/fs_abilities.py8
2 files changed, 7 insertions, 4 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index f4daaa3..5c931fd 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +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)
diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py
index 0bd57e8..17a890d 100644
--- a/rdiff-backup/rdiff_backup/fs_abilities.py
+++ b/rdiff-backup/rdiff_backup/fs_abilities.py
@@ -442,10 +442,6 @@ def get_readonly_fsa(desc_string, 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:
"""Various functions for setting Globals vars given FSAbilities above
@@ -499,6 +495,10 @@ class SetGlobals:
SetConnections.UpdateGlobal('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):
"""Functions for setting fsa related globals for backup session"""
def update_triple(self, src_support, dest_support, attr_triple):