summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/__init__.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-04-02 19:50:33 (GMT)
committerSteven Knight <knight@baldmt.com>2005-04-02 19:50:33 (GMT)
commit13dcf8c4ebad065d6296e7a3da24b21a1666a974 (patch)
tree6149e7e01cdfa22db3b3086c4b525526ac84fec2 /src/engine/SCons/Node/__init__.py
parentc378212a5904028315760269a52272a3eb025dca (diff)
downloadSCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.zip
SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.tar.gz
SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.tar.bz2
Remove widespread reliance on SCons.Node.FS.default_fs so we can initialize it once (later than we used to) and eliminate all the __setTopLevelDir() calls.
Diffstat (limited to 'src/engine/SCons/Node/__init__.py')
-rw-r--r--src/engine/SCons/Node/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index db80985..bc10e21 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -424,7 +424,8 @@ class Node:
here is a significant performance boost.
__cacheable__
"""
- return self.builder.source_factory(path)
+ env = self.get_build_env()
+ return env.get_factory(self.builder.source_factory)(path)
def get_scanner(self, env, kw={}):
return env.get_scanner(self.scanner_key())