]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/prepare_pristine.py
Add getApplication() function to wizard.app.
[wizard.git] / wizard / command / prepare_pristine.py
index 80517d1b1c1cc3a6e641231bd9645f0ed1156693..689067607769fe71e02167ae5c5fe8f144cc467b 100644 (file)
@@ -9,7 +9,7 @@ def main(argv, baton):
     check_directory(options)
     if not os.path.exists(args[0]):
         appname, _, version = args[0].partition("-")
-        application = app.applications()[appname]
+        application = app.getApplication(appname)
         url = application.download(version)
         base = os.path.basename(url)
         with open(base, "w") as outfile: