diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-05 20:10:43 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-05 20:10:43 (GMT) |
commit | fa0444219e30b462bf23c6623617e243d0278528 (patch) | |
tree | 84c5de901e52ffa99f41e99863e1f88e75ccea5b /src/engine/SCons/Util.py | |
parent | a5cbcd54f99ae67deba35541a30212475b8338a0 (diff) | |
download | SCons-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.py | 7 |
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): |