diff options
author | kotfu <kotfu@kotfu.net> | 2018-07-05 11:28:40 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-07-05 11:28:40 -0600 |
commit | 9a6a2b2c25c19e82c661c7ca602f528312e89a62 (patch) | |
tree | e0e330ccfd1e263c69406c6747da1e3bd1568258 /examples/scripts/conditional.py | |
parent | 985e790c594a2c48804ffa201f9253eb32a59c8b (diff) | |
parent | d80d672f47c3141bf4dfd7fc31818aa36d65a832 (diff) | |
download | cmd2-git-9a6a2b2c25c19e82c661c7ca602f528312e89a62.tar.gz |
Merge branch 'master' into plugin_functions
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)) |