Code review comment for lp:~jtv/launchpad/bug-884649-branch-3

Revision history for this message
Julian Edwards (julian-edwards) wrote :

8 +def contains_arch_indep(bpphs):
9 + """Are any of the publications among `bpphs` architecture-independent?"""
10 + return any(not bpph.architecture_specific for bpph in bpphs)
11 +

Again be careful of the extra masked query. I assume the FK to BPR is already loaded though.

review: Approve

« Back to merge proposal