Logo Search packages:      
Sourcecode: falcon version File versions  Download package

def falcon::package::SourcePackage::is_complete (   self  ) 

Check if all binary packages are built

Definition at line 221 of file package.py.

00221                          :
        """Check if all binary packages are built"""
        binaries = [x.strip() for x in self.controlfields['Binary'].split(",")]
        for b in binaries:
            try:
                BinaryPackage.objects.get(packagename=b, sourcepackage=self, architecture='all')
            except BinaryPackage.DoesNotExist:
                archs = self.controlfields.get('Architecture',None).strip()
                if not archs:
                    return True # Fake source, can't say anything about it
                if archs == 'any':
                    archs = falcon.conf.architectures
                else:
                    archs = archs.split(' ,')
                for a in archs:
                    try:
                        BinaryPackage.objects.get(packagename=b, sourcepackage=self, architecture=a)
                    except BinaryPackage.DoesNotExist:
                        return False
        return True

    def __repr__(self):


Generated by  Doxygen 1.6.0   Back to index