910
910
source_package_name, dep_name):
912
912
deps = expand_dependencies(
913
self, distro_arch_series.distroseries, pocket, component,
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))
918
for (archive, not_used, pocket, components) in deps])
921
920
store = ISlaveStore(BinaryPackagePublishingHistory)