summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-26 14:05:53 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-26 14:05:53 (GMT)
commit5c2e07585593ee4994b8e7d79b3d181a56cd7f13 (patch)
tree06f76e28506178feed9a9fae02428dc3b0a97d68 /src/engine
parent83b22241599ed5f8dc1bfdb1fdcca6fbcc39b95f (diff)
downloadSCons-5c2e07585593ee4994b8e7d79b3d181a56cd7f13.zip
SCons-5c2e07585593ee4994b8e7d79b3d181a56cd7f13.tar.gz
SCons-5c2e07585593ee4994b8e7d79b3d181a56cd7f13.tar.bz2
Fix "Ignoring corrupt sconsign entry" warnings when upgrading from 1.x.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Node/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index 79ba730..0bf490f 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -105,7 +105,7 @@ class NodeInfoBase(object):
logic for dealing with their own Node-specific signature information.
"""
current_version_id = 1
- def __init__(self, node):
+ def __init__(self, node=None):
# Create an object attribute from the class attribute so it ends up
# in the pickled data in the .sconsign file.
self._version_id = self.current_version_id
@@ -158,7 +158,7 @@ class BuildInfoBase(object):
implicit dependencies, and action information.
"""
current_version_id = 1
- def __init__(self, node):
+ def __init__(self, node=None):
# Create an object attribute from the class attribute so it ends up
# in the pickled data in the .sconsign file.
self._version_id = self.current_version_id