From 13bedb8e081b77af95d0070c5863681360cadb21 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sun, 26 Aug 2012 15:28:39 +0100 Subject: [PATCH] Fixed bug where PackageKit downloaded the wrong architecture --- zeroinstall/injector/packagekit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeroinstall/injector/packagekit.py b/zeroinstall/injector/packagekit.py index 7251f50..2d17710 100644 --- a/zeroinstall/injector/packagekit.py +++ b/zeroinstall/injector/packagekit.py @@ -82,7 +82,7 @@ class PackageKit(object): if candidate['arch'] != '*': impl.machine = candidate['arch'] - def install(handler): + def install(handler, candidate = candidate, impl = impl): packagekit_id = candidate['packagekit_id'] dl = PackageKitDownload('packagekit:' + packagekit_id, hint = impl, pk = self.pk, packagekit_id = packagekit_id, expected_size = candidate['size']) handler.monitor_download(dl) -- 2.11.4.GIT