~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/archive.py

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
910
910
                          source_package_name, dep_name):
911
911
        """See `IArchive`."""
912
912
        deps = expand_dependencies(
913
 
            self, distro_arch_series.distroseries, pocket, component,
914
 
            source_package_name)
 
913
            self, distro_arch_series, pocket, component, source_package_name)
915
914
        archive_clause = Or([And(
916
915
            BinaryPackagePublishingHistory.archiveID == archive.id,
917
916
            BinaryPackagePublishingHistory.pocket == pocket,
918
917
            Component.name.is_in(components))
919
 
            for (archive, pocket, components) in deps])
 
918
            for (archive, not_used, pocket, components) in deps])
920
919
 
921
920
        store = ISlaveStore(BinaryPackagePublishingHistory)
922
921
        return store.find(