X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/f7eaac4cedf9ebcd136ca69e44fbb2f1e6a90d29..319f82896fb658d9bbaf8d01d6c2c7410eb967c7:/wizard/command/research.py diff --git a/wizard/command/research.py b/wizard/command/research.py index a95c32f..75b8783 100644 --- a/wizard/command/research.py +++ b/wizard/command/research.py @@ -8,8 +8,7 @@ from wizard import app, command, deploy, shell, util def main(argv, baton): options, show = parse_args(argv, baton) appname = show[0] - application = app.applications()[appname] - sh = shell.Shell() + application = app.getApplication(appname) deploys = deploy.parse_install_lines(show, options.versions_path) stats = {} iffy = 0 @@ -28,7 +27,7 @@ def main(argv, baton): d.verifyConfigured() with util.ChangeDirectory(d.location): results = [] - out = sh.safeCall('git', 'diff', '--numstat', d.app_version.scripts_tag, strip=True) + out = shell.safeCall('git', 'diff', '--numstat', d.app_version.wizard_tag, strip=True) total += 1 for line in out.split("\n"): added, deleted, filename = line.split(None, 3)