From d9f67dd4fd74b0d97a3ba9ac6bc4a9ee4d3c3e0d Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Wed, 29 Jun 2011 13:29:53 -0700 Subject: [PATCH] Don't print modules list when running programs --- wscript | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 2f9644ee3..5ddf22f5a 100644 --- a/wscript +++ b/wscript @@ -773,8 +773,13 @@ def shutdown(ctx): return env = bld.env - # Don't print the lists if this a clean or distribution clean. - if ('clean' not in Options.arg_line) and ('distclean' not in Options.arg_line): + # Don't print the lists if a program is being run, a Python + # program is being run, this a clean, or this is a distribution + # clean. + if ((not Options.options.run) + and (not Options.options.pyrun) + and ('clean' not in Options.arg_line) + and ('distclean' not in Options.arg_line)): # Print the list of built modules. print