diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-10 18:53:01 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-10 18:53:01 -0500 |
commit | c879a8e4cc831c6032c297d7d42c5e71583706ba (patch) | |
tree | 03d057334066f693f5fef4f99f120bba72d3b699 /cmd2.py | |
parent | f96dba6dfb045a92b738fceaffbd5f05cab3210a (diff) | |
download | cmd2-git-c879a8e4cc831c6032c297d7d42c5e71583706ba.tar.gz |
Fixed a typo and added a unit test.
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -554,7 +554,7 @@ class Cmd(cmd.Cmd): traceback.print_exc() if exception_type is None: - err = self.colorize("ERROR: {}'\n".format(errmsg), 'red') + err = self.colorize("ERROR: {}\n".format(errmsg), 'red') sys.stderr.write(err) else: err = "EXCEPTION of type '{}' occured with message: '{}'\n".format(exception_type, errmsg) |