Python.py (SCons-4.3.0) | : | Python.py (SCons-4.4.0) | ||
---|---|---|---|---|
skipping to change at line 83 | skipping to change at line 83 | |||
class Value(SCons.Node.Node): | class Value(SCons.Node.Node): | |||
"""A class for Python variables, typically passed on the command line | """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. | or generated by a script, but not from a file or some other source. | |||
""" | """ | |||
NodeInfo = ValueNodeInfo | NodeInfo = ValueNodeInfo | |||
BuildInfo = ValueBuildInfo | BuildInfo = ValueBuildInfo | |||
def __init__(self, value, built_value=None, name=None): | def __init__(self, value, built_value=None, name=None): | |||
SCons.Node.Node.__init__(self) | super().__init__() | |||
self.value = value | self.value = value | |||
self.changed_since_last_build = 6 | self.changed_since_last_build = 6 | |||
self.store_info = 0 | self.store_info = 0 | |||
if built_value is not None: | if built_value is not None: | |||
self.built_value = built_value | self.built_value = built_value | |||
# Set a name so it can be a child of a node and not break | # Set a name so it can be a child of a node and not break | |||
# its parent's implementation of Node.get_contents. | # its parent's implementation of Node.get_contents. | |||
if name: | if name: | |||
self.name = name | self.name = name | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |