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

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

Return the best download source for this implementation.
@rtype: L{model.RetrievalMethod}

Definition at line 644 of file policy.py.

00644                                      :
            """Return the best download source for this implementation.
            @rtype: L{model.RetrievalMethod}"""
            if impl.download_sources:
                  return impl.download_sources[0]
            return None
            return None


Generated by  Doxygen 1.6.0   Back to index