From 5137df996ccc2faf82a473b16e45d4a371a183f9 Mon Sep 17 00:00:00 2001 From: bescoto Date: Sat, 13 Sep 2003 23:33:01 +0000 Subject: Clear self.dir_perms_list (final (?) unreadable dir change) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@432 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/backup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rdiff-backup/rdiff_backup/backup.py b/rdiff-backup/rdiff_backup/backup.py index 40194cd..a89f21e 100644 --- a/rdiff-backup/rdiff_backup/backup.py +++ b/rdiff-backup/rdiff_backup/backup.py @@ -420,6 +420,9 @@ class CacheCollatedPostProcess: def close(self): """Process the remaining elements in the cache""" while self.cache_indicies: self.shorten_cache() + while self.dir_perms_list: + dir_rp, perms = self.dir_perms_list.pop() + dir_rp.chmod(perms) metadata.MetadataFile.close_file() if Globals.read_eas: eas_acls.ExtendedAttributesFile.close_file() if Globals.read_acls: eas_acls.AccessControlListFile.close_file() -- cgit v1.2.1