diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-08-19 13:38:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 13:38:12 -0700 |
commit | f49d88a5bc5d981c78c2242a53ac34f8576b89ee (patch) | |
tree | a9d672bf19d64dc87c0f89eb827d009e00fce1d5 /cmd2.py | |
parent | ebc75bb1bf09f3ed0df85a5bcba587b732687a33 (diff) | |
parent | a0c895b3b773dfaca3667da0db794457d0b93b03 (diff) | |
download | cmd2-git-f49d88a5bc5d981c78c2242a53ac34f8576b89ee.tar.gz |
Merge pull request #211 from kotfu/fix/feedback_to_output
.pfeedback() now honors feedback_to_output setting
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -627,7 +627,7 @@ class Cmd(cmd.Cmd): if self.feedback_to_output: self.poutput(msg) else: - print(msg) + sys.stderr.write("{}\n".format(msg)) def colorize(self, val, color): """Given a string (``val``), returns that string wrapped in UNIX-style |