diff options
author | joshn <joshn@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-04-09 13:59:19 +0000 |
---|---|---|
committer | joshn <joshn@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-04-09 13:59:19 +0000 |
commit | e4c108ce309ff198af46f99acfdd1ef95d90acec (patch) | |
tree | 2701c6049ccb394b048168c873a0405ab7f1933f /rdiff-backup/rdiff_backup/win_acls.py | |
parent | 675f2a8ccb7b67789940594b38c454295693e373 (diff) | |
download | rdiff-backup-e4c108ce309ff198af46f99acfdd1ef95d90acec.tar.gz |
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
Diffstat (limited to 'rdiff-backup/rdiff_backup/win_acls.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/win_acls.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |