commit | 052e9115a5514439fd901c555fad6c953a44b1c7 | [log] [tgz] |
---|---|---|
author | Max Rasskazov <mrasskazov@mirantis.com> | Mon Jun 29 18:43:15 2015 +0300 |
committer | Max Rasskazov <mrasskazov@mirantis.com> | Mon Jun 29 18:43:15 2015 +0300 |
tree | 25ef28cc06d847d33f0d38aa51b9e405f1f8c02c | |
parent | 501cea5e7c1527f5ca2b62c0085b5225d47c8be8 [diff] |
Added deletion of snapshot's metadata files during clean of old snapshots Change-Id: Id51bcbd6eb0080e2f93259e774f4d9c8df999f50
diff --git a/trsync.py b/trsync.py index beed363..3dcbdd6 100644 --- a/trsync.py +++ b/trsync.py
@@ -189,6 +189,8 @@ ] if not s_links: self.rmdir(s_path) + self.rmfile(s_path + '.target.txt') + self.rmfile(s_path + '.diff.txt') else: self.logger.info('Skip deletion of "{}" because there are ' 'symlinks found: {}'.format(s, s_links))