diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-24 12:25:40 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-24 12:25:40 -0400 |
commit | 3bc87c3e7de1891431e3a4463164816b96eb64b1 (patch) | |
tree | f10195a0e24cb40c2a35849857dc65b87e0ac07f /cmd2/cmd2.py | |
parent | 35e084f64f715f90e2bfba232a299301b9c5d850 (diff) | |
download | cmd2-git-3bc87c3e7de1891431e3a4463164816b96eb64b1.tar.gz |
Added unit tests
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 8b1cb672..adadbdf8 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -3553,6 +3553,7 @@ class Cmd(cmd.Cmd): else: fobj.write('{}\n'.format(command.raw)) try: + # Handle potential edge case where the temp file needs to be quoted on the command line quoted_fname = utils.quote_string(fname) # noinspection PyTypeChecker |