summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorTodd Leonhardt <tleonhardt@gmail.com>2017-02-07 18:54:18 -0500
committerTodd Leonhardt <tleonhardt@gmail.com>2017-02-07 18:54:18 -0500
commit432fd66a6fb19c06e7a048aea1957dc7302166c1 (patch)
tree1bb4cedf22d921d05d0065f6173e52051f1ec412 /tests/test_transcript.py
parent1dc956e8b3a2b7bd8f152dcbcb60caa8dd57ddb6 (diff)
downloadcmd2-git-432fd66a6fb19c06e7a048aea1957dc7302166c1.tar.gz
Moved preloop() and postloop() calls from _cmdloop() to cmdloop().
In order to fix a problem with do_load() trying to do more than it should, refactored to move the preloop() and postloop() calls so they are not called when loading a script. This is so a script is simply a way to automate running several commands in a row and makes it safe for preloop() to create threads, connect to servers, and do other stateful things.
Diffstat (limited to 'tests/test_transcript.py')
0 files changed, 0 insertions, 0 deletions