Added Implementation.local_path attribute
commit8def0f5ba7c0bdcae915a2d5cc51465e6a5557cd
authorThomas Leonard <talex5@gmail.com>
Sat, 20 Feb 2010 17:17:28 +0000 (20 17:17 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 20 Feb 2010 17:46:50 +0000 (20 17:46 +0000)
tree1b8994f6a8fafc19f6b67af526597d2a27480392
parent5370b66c78016c1af099e57458d67d61a89f3087
Added Implementation.local_path attribute

This is the absolute path of the implementation for local implementations, or
None if it's not local (a distribution package or a Zero Install package
identified by a digest, whether cached or not).

This is so that we can avoid id.startswith('/') checks everywhere, since this
doesn't work on Windows.
0alias
zeroinstall/0launch-gui/impl_list.py
zeroinstall/0launch-gui/utils.py
zeroinstall/gtkui/cache.py
zeroinstall/injector/model.py
zeroinstall/injector/policy.py
zeroinstall/injector/run.py
zeroinstall/injector/selections.py
zeroinstall/injector/solver.py