"""This is the path to the wizard executable as specified
by the caller; it lets us recursively invoke wizard"""
-wizard = sys.argv[0]
+wizard_bin = sys.argv[0]
def is_python(args):
- return args[0] == "python" or args[0] == wizard
+ return args[0] == "python" or args[0] == wizard_bin
class Shell(object):
"""An advanced shell, with the ability to do dry-run and log commands"""