diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-27 06:05:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 06:05:59 -0700 |
commit | 842788675e9c4f0d416626ea3d8a9dac5e00b595 (patch) | |
tree | 15c42850f2d624ed60565876d20889ca8b7cf8ff /examples/scripts/conditional.py | |
parent | f0c98ac10e60995bbf2dff9848931109cac2f96e (diff) | |
parent | 3c8880e40bf653e098577de94be7eb2171dbc6b4 (diff) | |
download | cmd2-git-842788675e9c4f0d416626ea3d8a9dac5e00b595.tar.gz |
Merge branch 'master' into autocompleter
Diffstat (limited to 'examples/scripts/conditional.py')
-rw-r--r-- | examples/scripts/conditional.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/scripts/conditional.py b/examples/scripts/conditional.py index 87cd10ac..d7ee5ea2 100644 --- a/examples/scripts/conditional.py +++ b/examples/scripts/conditional.py @@ -30,6 +30,7 @@ app('cd {}'.format(directory)) if self._last_result: print('\nContents of directory {!r}:'.format(directory)) app('dir -l') + print('{}\n'.format(self._last_result.data)) # Change back to where we were print('Changing back to original directory: {!r}'.format(original_dir)) |