summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FS.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Node/FS.py')
-rw-r--r--src/engine/SCons/Node/FS.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index 13a2f52..1863d93 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -1243,7 +1243,7 @@ class Dir(Base):
"""A null "builder" for directories."""
return []
- def build(self):
+ def build(self, **kw):
"""A null "builder" for directories."""
pass
@@ -1673,12 +1673,12 @@ class File(Base):
if calc.max_drift >= 0 and (time.time() - mtime) > calc.max_drift:
try:
- self.binfo
+ binfo = self.binfo
except AttributeError:
- self.binfo = self.new_binfo()
- self.binfo.csig = csig
- self.binfo.timestamp = mtime
- self.store_info(self.binfo)
+ binfo = self.binfo = self.new_binfo()
+ binfo.csig = csig
+ binfo.timestamp = mtime
+ self.store_info(binfo)
return csig