X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/dfaede6bb50a8bce330f87c1eaadf09fcee28be1..30380c4b5b28df9670ea5952e14bc485d1d34133:/wizard/command/blacklist.py diff --git a/wizard/command/blacklist.py b/wizard/command/blacklist.py index 8665524..535fdb3 100644 --- a/wizard/command/blacklist.py +++ b/wizard/command/blacklist.py @@ -5,10 +5,9 @@ from wizard import command, shell, util def main(argv, baton): options, args = parse_args(argv, baton) reason = args[0] - sh = shell.Shell() # XXX: this should be abstracted away! if os.path.exists(".git/WIZARD_REPO"): - util.chdir(sh.eval('git', 'config', 'remote.origin.url')) + util.chdir(shell.eval('git', 'config', 'remote.origin.url')) open('.scripts/blacklisted', 'w').write(reason + "\n") def parse_args(argv, baton):