summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-27 16:55:30 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-27 16:55:30 -0400
commit2721f8a619ca4e5447a4507658f09d3ba4e10a14 (patch)
tree86de18ae834cc3bf57b782c403bdcd98426e0d5b /cmd2
parent01e16caa4d2fd2733588ad3c1e48a186f22ad376 (diff)
downloadcmd2-git-2721f8a619ca4e5447a4507658f09d3ba4e10a14.tar.gz
Added unit tests
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 0dcbcb36..55c303af 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -3407,7 +3407,7 @@ class Cmd(cmd.Cmd):
fobj.write('{}\n'.format(item.raw))
plural = 's' if len(history) > 1 else ''
except OSError as e:
- self.pexcept('Saving {!r} - {}'.format(args.output_file, e))
+ self.pexcept('Error saving {!r} - {}'.format(args.output_file, e))
else:
self.pfeedback('{} command{} saved to {}'.format(len(history), plural, args.output_file))
elif args.transcript: