summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-02-10 18:53:01 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-02-10 18:53:01 -0500
commitc879a8e4cc831c6032c297d7d42c5e71583706ba (patch)
tree03d057334066f693f5fef4f99f120bba72d3b699 /cmd2.py
parentf96dba6dfb045a92b738fceaffbd5f05cab3210a (diff)
downloadcmd2-git-c879a8e4cc831c6032c297d7d42c5e71583706ba.tar.gz
Fixed a typo and added a unit test.
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 3ff0f528..d8c8583a 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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)