diff options
author | Steven Knight <knight@baldmt.com> | 2006-01-22 03:13:50 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-01-22 03:13:50 (GMT) |
commit | e74b9f5c157debd627779d45833348cb16fd7b72 (patch) | |
tree | fd403afaf18556a1607fcc9d729719d3c2e5ddcb /src/engine/SCons/Node/Python.py | |
parent | 6fdb91f7abaaf0823070d17c8afcde6ca35d3549 (diff) | |
download | SCons-e74b9f5c157debd627779d45833348cb16fd7b72.zip SCons-e74b9f5c157debd627779d45833348cb16fd7b72.tar.gz SCons-e74b9f5c157debd627779d45833348cb16fd7b72.tar.bz2 |
Refactor NodeInfo and BuildInfo handling to prepare for signature refactoring.
Diffstat (limited to 'src/engine/SCons/Node/Python.py')
-rw-r--r-- | src/engine/SCons/Node/Python.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/Python.py b/src/engine/SCons/Node/Python.py index 0e1c985..99dc5b0 100644 --- a/src/engine/SCons/Node/Python.py +++ b/src/engine/SCons/Node/Python.py @@ -31,10 +31,20 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import SCons.Node +class ValueNodeInfo(SCons.Node.NodeInfoBase): + pass + +class ValueBuildInfo(SCons.Node.BuildInfoBase): + pass + class Value(SCons.Node.Node): """A class for Python variables, typically passed on the command line or generated by a script, but not from a file or some other source. """ + + NodeInfo = ValueNodeInfo + BuildInfo = ValueBuildInfo + def __init__(self, value): SCons.Node.Node.__init__(self) self.value = value |