Logo Search packages:      
Sourcecode: rapid-spring version File versions  Download package

def rapid::rapid::Repository::has_package (   self,
  p 
)
Return true iff p belongs to this repository.

Definition at line 333 of file rapid.py.

                              :
            """ Return true iff p belongs to this repository."""
            if p.repository:
                  return p.repository == self
            return os.path.exists(os.path.join(self.package_cache_dir, p.hex + '.sdp'))


Generated by  Doxygen 1.6.0   Back to index