~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/model/buildfarmjob.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-21 22:17:38 UTC
  • mfrom: (13228.4.8 set-ppa-private)
  • Revision ID: launchpad@pqm.canonical.com-20110621221738-l68s7zrnalblik8l
[r=jcsackett][bug=724740] Provides facility to set a PPA private via
        the API

Show diffs side-by-side

added added

removed removed

Lines of Context:
417
417
                Select(
418
418
                    Archive.id,
419
419
                    tables=(Archive,),
420
 
                    where=(Archive.private == False)
 
420
                    where=(Archive._private == False)
421
421
                    ),
422
422
                Select(
423
423
                    Archive.id,
424
424
                    tables=(Archive,),
425
425
                    where=And(
426
 
                        Archive.private == True,
 
426
                        Archive._private == True,
427
427
                        Archive.ownerID.is_in(
428
428
                            Select(
429
429
                                TeamParticipation.teamID,
445
445
                        Select(
446
446
                            Archive.id,
447
447
                            tables=(Archive,),
448
 
                            where=(Archive.private == False)
 
448
                            where=(Archive._private == False)
449
449
                            )
450
450
                        )
451
451
                    )