]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/shell.py
Fix wizard -> wizard_bin bug, fix dry run, create .scripts/variables
[wizard.git] / wizard / shell.py
index bf7e172fb1132711ea675156c5da18a4065e73ca..3ed61a323537024a30edbd30f3b554e96bfc6129 100644 (file)
@@ -8,10 +8,10 @@ from wizard import util
 
 """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"""