summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Util.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-09-05 20:10:43 (GMT)
committerSteven Knight <knight@baldmt.com>2004-09-05 20:10:43 (GMT)
commitfa0444219e30b462bf23c6623617e243d0278528 (patch)
tree84c5de901e52ffa99f41e99863e1f88e75ccea5b /src/engine/SCons/Util.py
parenta5cbcd54f99ae67deba35541a30212475b8338a0 (diff)
downloadSCons-fa0444219e30b462bf23c6623617e243d0278528.zip
SCons-fa0444219e30b462bf23c6623617e243d0278528.tar.gz
SCons-fa0444219e30b462bf23c6623617e243d0278528.tar.bz2
Lots of Configure() enhancements. (Christoph Wiedemann)
Diffstat (limited to 'src/engine/SCons/Util.py')
-rw-r--r--src/engine/SCons/Util.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py
index 323f5ff..8707ed4 100644
--- a/src/engine/SCons/Util.py
+++ b/src/engine/SCons/Util.py
@@ -343,10 +343,11 @@ class DisplayEngine:
def __init__(self):
self.__call__ = self.print_it
- def print_it(self, text):
- sys.stdout.write(text + '\n')
+ def print_it(self, text, append_newline=1):
+ if append_newline: text = text + '\n'
+ sys.stdout.write(text)
- def dont_print(self, text):
+ def dont_print(self, text, append_newline=1):
pass
def set_mode(self, mode):