Log all removed files

This makes finding what glob removed some file easier.
This commit is contained in:
Martin Gracik 2012-03-21 09:49:42 +01:00 committed by Brian C. Lane
parent d45e583c7b
commit b61927badc

View File

@ -309,6 +309,7 @@ class LoraxTemplateRunner(object):
for g in fileglobs:
for f in rglob(self._out(g)):
remove(f)
logger.debug("removed %s", f)
def chmod(self, fileglob, mode):
'''