[Blends-commit] [SCM] website branch, master, updated. 9265134b3fd1e0cf494470c898970ce1a9a41664

Ole Streicher olebole at debian.org
Thu Mar 24 07:26:25 UTC 2016


The following commit has been merged in the master branch:
commit 9265134b3fd1e0cf494470c898970ce1a9a41664
Author: Ole Streicher <olebole at debian.org>
Date:   Thu Mar 24 08:26:19 2016 +0100

    Fix Task.getPackageNames()

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index 7754a58..5f795ee 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -1017,8 +1017,8 @@ class Tasks:
                             logger.debug(" %s -> %s" % (enh, dep.properties['Enhances'][enh]))
 
     def getPackageNames(self, sections):
-        return set(*(task.getPackageNames(sections)
-                     for task in self.tasks.values()))
+        return set(itertool.chain(*(task.getPackageNames(sections)
+                                    for task in self.tasks.values())))
 
 class TaskDependencies:
     # List of depencencies defined in one metapackage
diff --git a/webtools/blendstasktools_udd.py b/webtools/blendstasktools_udd.py
index bb302c2..1f4ee2b 100644
--- a/webtools/blendstasktools_udd.py
+++ b/webtools/blendstasktools_udd.py
@@ -946,8 +946,8 @@ class Tasks:
                             logger.debug(" %s -> %s" % (enh, dep.properties['Enhances'][enh]))
 
     def getPackageNames(self, sections):
-        return set(*(task.getPackageNames(sections)
-                     for task in self.tasks.values()))
+        return set(itertool.chain(*(task.getPackageNames(sections)
+                                    for task in self.tasks.values())))
 
 class TaskDependencies:
     # List of depencencies defined in one metapackage

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list