[Treepkg-commits] r353 - branches/treepkg-status/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 9 12:20:50 CEST 2010


Author: bricks
Date: 2010-07-09 12:20:49 +0200 (Fri, 09 Jul 2010)
New Revision: 353

Modified:
   branches/treepkg-status/treepkg/packager.py
Log:
get all log files


Modified: branches/treepkg-status/treepkg/packager.py
===================================================================
--- branches/treepkg-status/treepkg/packager.py	2010-07-08 16:11:13 UTC (rev 352)
+++ branches/treepkg-status/treepkg/packager.py	2010-07-09 10:20:49 UTC (rev 353)
@@ -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))



More information about the Treepkg-commits mailing list