Bugfix: multiple dependencies on a single library didn't work
commit07f774d36f82d3b35b6825434bb4a3f20218f2a2
authorThomas Leonard <talex5@gmail.com>
Tue, 8 Apr 2008 15:14:53 +0000 (8 16:14 +0100)
committerThomas Leonard <talex5@gmail.com>
Tue, 8 Apr 2008 15:26:58 +0000 (8 16:26 +0100)
tree063dea0a99aebc4c5f1066699878379f5774ef04
parent47e1240035c4f943ef1b5a4e36a32f9639ab9d4d
Bugfix: multiple dependencies on a single library didn't work

If the same library was required by two components within a single process,
the solver would exit early with None, which was interpreted as False (i.e.
failure to choose a set of versions).

This also affects libraries that depend on themselves. Reported by Sladi.
tests/Recursive.xml [new file with mode: 0644]
tests/testsolver.py
zeroinstall/injector/solver.py