~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/scripts/populate_archive.py

  • Committer: Francis J. Lacoste
  • Date: 2011-07-07 14:00:10 UTC
  • mto: This revision was merged to the branch mainline in revision 13427.
  • Revision ID: francis.lacoste@canonical.com-20110707140010-i7df8tztmzsfzxxc
Remove --raise-priority option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from lp.app.validators.name import valid_name
18
18
from lp.soyuz.adapters.packagelocation import build_package_location
19
19
from lp.soyuz.enums import ArchivePurpose
20
 
from lp.soyuz.interfaces.buildpackagejob import COPY_ARCHIVE_SCORE_PENALTY
21
20
from lp.soyuz.interfaces.component import IComponentSet
22
21
from lp.soyuz.interfaces.packagecloner import IPackageCloner
23
22
from lp.soyuz.interfaces.processor import IProcessorFamilySet
224
223
            # Associate the newly created copy archive with the processor
225
224
            # families specified by the user.
226
225
            set_archive_architectures(copy_archive, proc_families)
227
 
 
228
 
            # If --raise-priority was specified, offset the penalty
229
 
            # normally assigned to copy builds.
230
 
            copy_archive.relative_build_score = COPY_ARCHIVE_SCORE_PENALTY
231
226
        else:
232
227
            # Archive name clash! Creation requested for existing archive with
233
228
            # the same name and distribution.
397
392
            "--nonvirtualized", dest="nonvirtualized", default=False,
398
393
            action="store_true",
399
394
            help='Create the archive as nonvirtual if specified.')
400
 
 
401
 
        self.parser.add_option(
402
 
            "--raise-priority", dest="priority", default=False,
403
 
            action="store_true",
404
 
            help='The builds from this copy archive will use the regular '
405
 
            'score instead of the lower COPY score.')