summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Environment.py')
-rw-r--r--src/engine/SCons/Environment.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py
index d7b4022..2c71e61 100644
--- a/src/engine/SCons/Environment.py
+++ b/src/engine/SCons/Environment.py
@@ -2231,22 +2231,6 @@ class Base(SubstitutionEnvironment):
sources.append(s)
build_source(node.all_children())
- # THIS CODE APPEARS TO HAVE NO EFFECT
- # # get the final srcnode for all nodes, this means stripping any
- # # attached build node by calling the srcnode function
- # for file in sources:
- # srcnode = file.srcnode()
- # while srcnode != file.srcnode():
- # srcnode = file.srcnode()
- # ------------------------------------------------------------------
- # Sure!, the above code is like:
- #
- # a = b
- # while a != b:
- # a = b
- # return c
- #
- # Let's do the job as below:
def final_source(node):
while (node != node.srcnode()):
node = node.srcnode()