From e4c108ce309ff198af46f99acfdd1ef95d90acec Mon Sep 17 00:00:00 2001 From: joshn Date: Thu, 9 Apr 2009 13:59:19 +0000 Subject: Use Unicode for paths internally to add support for Unicode on Windows. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1053 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/win_acls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rdiff-backup/rdiff_backup/win_acls.py') diff --git a/rdiff-backup/rdiff_backup/win_acls.py b/rdiff-backup/rdiff_backup/win_acls.py index b7e322a..603a5fe 100644 --- a/rdiff-backup/rdiff_backup/win_acls.py +++ b/rdiff-backup/rdiff_backup/win_acls.py @@ -181,7 +181,7 @@ class ACL: def __str__(self): return '# file: %s\n%s\n' % \ - (C.acl_quote(self.get_indexpath()), unicode(self.__acl)) + (self.get_indexpath(), unicode(self.__acl)) def from_string(self, acl_str): lines = acl_str.splitlines() @@ -189,7 +189,7 @@ class ACL: raise metadata.ParsingError("Bad record beginning: " + lines[0][:8]) filename = lines[0][8:] if filename == '.': self.index = () - else: self.index = tuple(C.acl_unquote(filename).split('/')) + else: self.index = tuple(filename.split('/')) self.__acl = lines[1] def Record2WACL(record): -- cgit v1.2.1