From 11cea9c954aff5ce81d85de454dd4547e980b705 Mon Sep 17 00:00:00 2001 From: anatoly techtonik <techtonik@gmail.com> Date: Wed, 2 Mar 2016 14:11:19 +0300 Subject: Fix formatting in SConf check example --- src/engine/SCons/SConf.py | 8 ++++---- 1 file 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 -- cgit v0.12