summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkmvanbrunt <kmvanbrunt@gmail.com>2018-12-06 14:28:15 -0500
committerGitHub <noreply@github.com>2018-12-06 14:28:15 -0500
commit64119e208bad3bfb151da5184461d74b6d1af3b6 (patch)
tree9a992ba5ddfe7c33613edb699cd3c7f578881a16 /cmd2/cmd2.py
parentea182bbea386288b1acfbc35c99243a457ff1036 (diff)
parent534cb7958f8ed2b171599a35e9654534bcd65904 (diff)
downloadcmd2-git-64119e208bad3bfb151da5184461d74b6d1af3b6.tar.gz
Merge pull request #609 from python-cmd2/perror
Removed ERROR: text from perror output
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index fb1199c3..a513d0e7 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -624,7 +624,7 @@ class Cmd(cmd.Cmd):
if isinstance(err, Exception):
err_msg = "EXCEPTION of type '{}' occurred with message: '{}'\n".format(type(err).__name__, err)
else:
- err_msg = "ERROR: {}\n".format(err)
+ err_msg = "{}\n".format(err)
err_msg = err_color + err_msg + Fore.RESET
self.decolorized_write(sys.stderr, err_msg)