summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2016-03-02 11:11:19 (GMT)
committeranatoly techtonik <techtonik@gmail.com>2016-03-02 11:11:19 (GMT)
commit11cea9c954aff5ce81d85de454dd4547e980b705 (patch)
tree5a2b984de52aa8134ccf8b5dc2e8ec39e4d8d937
parent453f69278a6ca7f32ab733167d38ea101804f3fb (diff)
downloadSCons-11cea9c954aff5ce81d85de454dd4547e980b705.zip
SCons-11cea9c954aff5ce81d85de454dd4547e980b705.tar.gz
SCons-11cea9c954aff5ce81d85de454dd4547e980b705.tar.bz2
Fix formatting in SConf check example
-rw-r--r--src/engine/SCons/SConf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py
index 286f230..94027ec 100644
--- a/src/engine/SCons/SConf.py
+++ b/src/engine/SCons/SConf.py
@@ -755,10 +755,10 @@ class CheckContext(object):
A typical test is just a callable with an instance of CheckContext as
first argument:
- def CheckCustom(context, ...)
- context.Message('Checking my weird test ... ')
- ret = myWeirdTestFunction(...)
- context.Result(ret)
+ def CheckCustom(context, ...):
+ context.Message('Checking my weird test ... ')
+ ret = myWeirdTestFunction(...)
+ context.Result(ret)
Often, myWeirdTestFunction will be one of
context.TryCompile/context.TryLink/context.TryRun. The results of