summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-07-09 19:36:46 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-07-09 19:36:46 (GMT)
commitcb2bf0787dce3f00d926dc9b8ac45c738d9f26b9 (patch)
treeca689ab7b5659cf7fdb9e8b79a6305edda2521a8 /src
parentc648cbc9224a566f73655602a7b12876d1e9adb1 (diff)
downloadSCons-cb2bf0787dce3f00d926dc9b8ac45c738d9f26b9.zip
SCons-cb2bf0787dce3f00d926dc9b8ac45c738d9f26b9.tar.gz
SCons-cb2bf0787dce3f00d926dc9b8ac45c738d9f26b9.tar.bz2
Clean up __slots__ specification to be list, remove some obsoleted code
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Node/FS.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py
index 94d77a3..2973f0a 100644
--- a/src/engine/SCons/Node/FS.py
+++ b/src/engine/SCons/Node/FS.py
@@ -57,7 +57,6 @@ import SCons.Util
import SCons.Warnings
from SCons.Debug import Trace
-from . import DeciderNeedsNode
print_duplicate = 0
@@ -2511,7 +2510,7 @@ class FileBuildInfo(SCons.Node.BuildInfoBase):
or count of any of these could yield writing wrong csig, and then false positive
rebuilds
"""
- __slots__ = ('dependency_map', )
+ __slots__ = ['dependency_map', ]
current_version_id = 2
def __setattr__(self, key, value):
@@ -2635,7 +2634,6 @@ class File(Base):
if SCons.Debug.track_instances: logInstanceCreation(self, 'Node.FS.File')
Base.__init__(self, name, directory, fs)
self._morph()
- self.attributes.changed_timestamp_then_content = None
def Entry(self, name):
"""Create an entry node named 'name' relative to
@@ -3387,7 +3385,7 @@ class File(Base):
if df:
return df
- # Strings didn't existing in map, add them and try again
+ # Strings don't exist in map, add them and try again
# If there are no strings in this dmap, then add them.
# This may not be necessary, we could walk the nodes in the dmap and check each string
# rather than adding ALL the strings to dmap. In theory that would be n/2 vs 2n str() calls on node