diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-10-05 12:20:22 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-10-05 12:20:22 +0100 |
commit | cc412bb982172afcf0e618ea8de5f718f2b13cf4 (patch) | |
tree | 186aa7158fe2627ed9d37836cf1319d0d77ea55c /morphlib/tempdir.py | |
parent | 497c85d6930df0bc179403f02de1a36ded705f1c (diff) | |
download | morph-cc412bb982172afcf0e618ea8de5f718f2b13cf4.tar.gz |
Log when a temporary directory is cleaned.
Diffstat (limited to 'morphlib/tempdir.py')
-rw-r--r-- | morphlib/tempdir.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/tempdir.py b/morphlib/tempdir.py index 7f58cdc3..9d5f8b47 100644 --- a/morphlib/tempdir.py +++ b/morphlib/tempdir.py @@ -36,6 +36,7 @@ class Tempdir(object): def clear(self): '''Clear temporary directory of everything.''' + logging.debug('Removing contents of %s' % self.dirname) for x in os.listdir(self.dirname): filename = self.join(x) if os.path.isdir(filename): |