[Blends-commit] [SCM] website branch, master, updated. 060905806fcefb5d226e520f94f3eb6f205522e2

Ole Streicher olebole at debian.org
Tue Mar 8 22:19:08 UTC 2016


The following commit has been merged in the master branch:
commit 060905806fcefb5d226e520f94f3eb6f205522e2
Author: Ole Streicher <olebole at debian.org>
Date:   Tue Mar 8 23:19:04 2016 +0100

    Replace filter with inline list generation

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index 50a797d..2875f2e 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -956,7 +956,7 @@ class Tasks:
             if td.GetTaskDependencies(source):
                 self.tasks[task] = td
             else:  # Kick file that is obviosely no task file from metapackage list
-                self.metapackagekeys = filter(lambda name: name != task, self.metapackagekeys)
+                self.metapackagekeys = [name for name in self.metapackagekeys if name != task]
 
         if source == 0:
             # total number popcon submissions

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list