From 20f67d6e215457d28c9a14820039754c4d724cc3 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Mon, 22 Sep 2008 20:38:41 +0100 Subject: [PATCH] Don't treat "src" as an architecture group After selecting a "src" package, it assumed this was a 32-bit architecture and tried to find dependencies to match. --- zeroinstall/injector/solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeroinstall/injector/solver.py b/zeroinstall/injector/solver.py index e6e85c2..e14b9e5 100644 --- a/zeroinstall/injector/solver.py +++ b/zeroinstall/injector/solver.py @@ -92,7 +92,7 @@ class DefaultSolver(Solver): if impl: debug("Will use implementation %s (version %s)", impl, impl.get_version()) self.selections[iface] = impl - if self._machine_group is None and impl.machine: + if self._machine_group is None and impl.machine and impl.machine != 'src': self._machine_group = machine_groups.get(impl.machine, 0) debug("Now restricted to architecture group %s", self._machine_group) for d in impl.requires: -- 2.11.4.GIT