Source

SCons / src / engine / SCons / Util.py

The default branch has multiple heads

Diff from to

src/engine/SCons/Util.py

     for v in narg:
 	if type(v) is types.StringType:
 	    nodes.append(fs.File(v))
-	elif issubclass(v.__class__, SCons.Node.Node):
+	# Do we enforce the following restriction?  Maybe, but it
+	# also restricts what we can do for allowing people to
+	# use the engine with alternate Node implementations...
+	# Perhaps this should be split in two, with the SCons.Node
+	# logic in a wrapper somewhere under SCons.Node, and the
+	# string-parsing logic here...?
+	#elif not issubclass(v.__class__, SCons.Node.Node):
+	#    raise TypeError
+	else:
 	    nodes.append(v)
-	else:
-	    raise TypeError
 
     return nodes