summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-05 00:53:36 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-05 00:53:36 (GMT)
commit7284dcce49a1b67799b01245a9c8d48c7cd7d0ed (patch)
treef262713e06364682a251101f45856bf1e7658586 /src
parent3cc6d46aee79de51fe5017251a126725c72ceba5 (diff)
downloadSCons-7284dcce49a1b67799b01245a9c8d48c7cd7d0ed.zip
SCons-7284dcce49a1b67799b01245a9c8d48c7cd7d0ed.tar.gz
SCons-7284dcce49a1b67799b01245a9c8d48c7cd7d0ed.tar.bz2
pep8
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Defaults.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Defaults.py b/src/engine/SCons/Defaults.py
index f1d5bca..ded9539 100644
--- a/src/engine/SCons/Defaults.py
+++ b/src/engine/SCons/Defaults.py
@@ -485,6 +485,7 @@ def processDefines(defs):
l = [str(defs)]
return l
+
def _defines(prefix, defs, suffix, env, c=_concat_ixes):
"""A wrapper around _concat_ixes that turns a list or string
into a list of C preprocessor command-line definitions.
@@ -492,6 +493,7 @@ def _defines(prefix, defs, suffix, env, c=_concat_ixes):
return c(prefix, env.subst_path(processDefines(defs)), suffix, env)
+
class NullCmdGenerator(object):
"""This is a callable class that can be used in place of other
command generators if you don't want them to do anything.
@@ -510,6 +512,7 @@ class NullCmdGenerator(object):
def __call__(self, target, source, env, for_signature=None):
return self.cmd
+
class Variable_Method_Caller(object):
"""A class for finding a construction variable on the stack and
calling one of its methods.