summaryrefslogtreecommitdiffstats
path: root/Demo/scripts
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-01-07 10:55:55 (GMT)
committerGuido van Rossum <guido@python.org>1994-01-07 10:55:55 (GMT)
commit032d39461bf344ae731b7dab6101bbf6bcdcb249 (patch)
treed29ef118ded74d1a3ef6ab1b713120f9ea195b08 /Demo/scripts
parentf62f68745374579e615c348d2f592dfb90eec947 (diff)
downloadcpython-032d39461bf344ae731b7dab6101bbf6bcdcb249.zip
cpython-032d39461bf344ae731b7dab6101bbf6bcdcb249.tar.gz
cpython-032d39461bf344ae731b7dab6101bbf6bcdcb249.tar.bz2
Minor output format change
Diffstat (limited to 'Demo/scripts')
-rwxr-xr-xDemo/scripts/freeze.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/scripts/freeze.py b/Demo/scripts/freeze.py
index c17c33f..85ab5bc 100755
--- a/Demo/scripts/freeze.py
+++ b/Demo/scripts/freeze.py
@@ -308,7 +308,8 @@ def process(filename, addmodules):
else:
print 'Done.'
#
- if not quiet: print 'Note: consider this:'; print 'strip', ofile
+ if not quiet and not noexec and sts == 0:
+ print 'Note: consider this:'; print '\tstrip', ofile
#
sys.exit(sts)