summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FS.py
diff options
context:
space:
mode:
authorJason Kenny <dragon512@live.com>2019-07-30 21:03:50 (GMT)
committerJason Kenny <dragon512@live.com>2019-07-30 21:03:58 (GMT)
commit6f14cfb16b620af1c2667926aaaa80d26b8033a2 (patch)
tree53095d3b39250024b7677ab2825c4c6594b8873a /src/engine/SCons/Node/FS.py
parent00e88a8b08b05d2ee41668ddd2229e5cf98cb143 (diff)
downloadSCons-6f14cfb16b620af1c2667926aaaa80d26b8033a2.zip
SCons-6f14cfb16b620af1c2667926aaaa80d26b8033a2.tar.gz
SCons-6f14cfb16b620af1c2667926aaaa80d26b8033a2.tar.bz2
Add test and fix to regression in current 3.1.0 drop
Diffstat (limited to 'src/engine/SCons/Node/FS.py')
-rw-r--r--src/engine/SCons/Node/FS.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index 33105fb..6b0fe98 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -3436,6 +3436,8 @@ class File(Base):
Boolean - Indicates if node(File) has changed.
"""
+ if node is None:
+ node = self
# Now get sconsign name -> csig map and then get proper prev_ni if possible
bi = node.get_stored_info().binfo
rebuilt = False