Mercurial > treepkg
changeset 393:5fe26e7f6e2d treepkg-status
get all log files
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 09 Jul 2010 10:20:49 +0000 |
parents | e2afbd3c2bf1 |
children | bfd1c6a155fa |
files | treepkg/packager.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/packager.py Thu Jul 08 16:11:13 2010 +0000 +++ b/treepkg/packager.py Fri Jul 09 10:20:49 2010 +0000 @@ -323,10 +323,10 @@ return self.build_log + ".gz" return self.build_log - def get_log_files(self, logs): + def get_log_files(self, logs=None): files = [] for f in os.listdir(self.log_dir): - if f in logs: + if logs is None or f in logs: f = os.path.join(self.log_dir,f) if os.path.isfile(f): files.append((self.get_log_title(f),f))