summaryrefslogtreecommitdiff
path: root/tests/pyscript/recursive.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug where pyscripts could edit cmd2.Cmd.py_locals dictionary.Kevin Van Brunt2020-02-141-0/+1
| | | | | | | | | Fixed bug where cmd2 set sys.path[0] for a pyscript to its cwd instead of the script's directory. Fixed bug where sys.path was not being restored after a pyscript ran. Setting the following pyscript variables: __name__: __main__ __file__: script path (as typed) Removed do_py.run() function since it didn't handle arguments and offered no benefit over run_pyscript.
* Fixed issue where run_pyscript failed if the script's filename had a spaceKevin Van Brunt2019-07-231-0/+11