From 0a76f5e2f9a3b55995014fc18881bdb068765817 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 29 Sep 2015 08:52:43 -0700 Subject: Removed 'Local Build Variables:' from output when append flag for help is True. This change breaks a bunch of tests and isn't core to the bug itself --- src/engine/SCons/Script/__init__.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py index 4dcd055..6bfc36f 100644 --- a/src/engine/SCons/Script/__init__.py +++ b/src/engine/SCons/Script/__init__.py @@ -269,10 +269,16 @@ def HelpFunction(text, append=False): help_text = s.getvalue() s.close() else: - help_text = "" - help_text = help_text + "\nLocal Build Variables:\n" + text - else: - help_text = help_text + text + help_text = "" +# +# Was in original patch but this text is arbitrary and breaks tests +# so I removed it (Deegan) +# help_text = help_text + "\nLocal Build Variables:\n" + text +# else: +# help_text = help_text + text + + help_text= help_text + text + # # Will be non-zero if we are reading an SConscript file. -- cgit v0.12