summaryrefslogtreecommitdiff
path: root/devel/scons/files/patch-script-Main.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/scons/files/patch-script-Main.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/scons/files/patch-script-Main.py b/devel/scons/files/patch-script-Main.py
new file mode 100644
index 000000000000..0f8b82f64090
--- /dev/null
+++ b/devel/scons/files/patch-script-Main.py
@@ -0,0 +1,11 @@
+--- engine/SCons/Script/Main.py.orig Wed Feb 16 03:12:11 2005
++++ engine/SCons/Script/Main.py Sat Mar 19 23:40:24 2005
+@@ -1024,7 +1034,7 @@
+ node = None
+ return node
+
+- nodes = filter(lambda x: x is not None, map(Entry, targets))
++ nodes = filter(None, map(Entry, targets))
+
+ task_class = BuildTask # default action is to build targets
+ opening_message = "Building targets ..."