Logo Search packages:      
Sourcecode: zeroinstall-injector version File versions

def zeroinstall::injector::policy::Policy::get_implementation_path (   self,
  impl 
)

Return the local path of impl.
@rtype: str
@raise zeroinstall.zerostore.NotStored: if it needs to be added to the cache first.

Definition at line 529 of file policy.py.

00529                                              :
            """Return the local path of impl.
            @rtype: str
            @raise zeroinstall.zerostore.NotStored: if it needs to be added to the cache first."""
            assert isinstance(impl, Implementation)
            if impl.id.startswith('/'):
                  return impl.id
            return iface_cache.stores.lookup(impl.id)

      def get_implementation(self, interface):


Generated by  Doxygen 1.6.0   Back to index