310
310
from lp.code.model.sourcepackagerecipe import SourcePackageRecipe
311
311
from lp.services.librarian.model import LibraryFileAlias
312
313
SourcePackageRecipeBuild.prefetchBuildqueueRecord(builds)
313
314
package_builds = load_related(
314
315
PackageBuild, builds, ['package_build_id'])
317
319
load_related(LibraryFileAlias, build_farm_jobs, ['log_id'])
318
320
archives = load_related(Archive, package_builds, ['archive_id'])
319
321
load_related(Person, archives, ['ownerID'])