Added Implementation.is_available and Selection.is_available
commitaee7ca9f92851a3fca54fc5cfeef754756c26bbd
authorThomas Leonard <talex5@gmail.com>
Sat, 26 Feb 2011 15:32:04 +0000 (26 15:32 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 26 Feb 2011 16:08:10 +0000 (26 16:08 +0000)
tree2cea5b01604c063df5551035ba2e999ec5bac85f
parente18fe390f57482f4d2f0f2a8a4dec27b4ba36647
Added Implementation.is_available and Selection.is_available

These test whether the implementation is available locally, removing the
duplicated logic in Policy and Solver.
tests/basetest.py
tests/testsat.py
zeroinstall/injector/model.py
zeroinstall/injector/policy.py
zeroinstall/injector/selections.py
zeroinstall/injector/solver.py
zeroinstall/zerostore/__init__.py