diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-26 04:44:35 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-26 04:44:35 (GMT) |
commit | fb6c9bebf7006132df1cdff5ea34401abe7364d7 (patch) | |
tree | b622afe503289fe14b7ceed1a9ea9822694f8702 /src/engine/SCons/Node | |
parent | 26b9ebbba49e0ace12eef8e03f80b5ee8e1b955d (diff) | |
download | SCons-fb6c9bebf7006132df1cdff5ea34401abe7364d7.zip SCons-fb6c9bebf7006132df1cdff5ea34401abe7364d7.tar.gz SCons-fb6c9bebf7006132df1cdff5ea34401abe7364d7.tar.bz2 |
PEP-8 fixes
Diffstat (limited to 'src/engine/SCons/Node')
-rw-r--r-- | src/engine/SCons/Node/FS.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 0de3989..9b057be 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -2434,6 +2434,7 @@ class RootDir(Dir): def src_builder(self): return _null + class FileNodeInfo(SCons.Node.NodeInfoBase): __slots__ = ('csig', 'timestamp', 'size') current_version_id = 2 @@ -2485,6 +2486,7 @@ class FileNodeInfo(SCons.Node.NodeInfoBase): if key not in ('__weakref__',): setattr(self, key, value) + class FileBuildInfo(SCons.Node.BuildInfoBase): __slots__ = () current_version_id = 2 @@ -2515,6 +2517,7 @@ class FileBuildInfo(SCons.Node.BuildInfoBase): pass else: setattr(self, attr, list(map(node_to_str, val))) + def convert_from_sconsign(self, dir, name): """ Converts a newly-read FileBuildInfo object for in-SCons use @@ -2523,6 +2526,7 @@ class FileBuildInfo(SCons.Node.BuildInfoBase): perform--but we're leaving this method here to make that clear. """ pass + def prepare_dependencies(self): """ Prepares a FileBuildInfo object for explaining what changed @@ -2551,6 +2555,7 @@ class FileBuildInfo(SCons.Node.BuildInfoBase): s = ni.str_to_node(s) nodes.append(s) setattr(self, nattr, nodes) + def format(self, names=0): result = [] bkids = self.bsources + self.bdepends + self.bimplicit @@ -2563,6 +2568,7 @@ class FileBuildInfo(SCons.Node.BuildInfoBase): result.append('%s [%s]' % (self.bactsig, self.bact)) return '\n'.join(result) + class File(Base): """A class for files in a file system. """ |