~brian-murray/ubuntu-release-upgrader/patching-get-distro

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeCache.py

  • Committer: Brian Murray
  • Date: 2015-10-21 16:19:32 UTC
  • Revision ID: brian@canonical.com-20151021161932-23yxhe7pdbw4wrdd
data/DistUpgrade.cfg: Update kernel version and types that will be
considered for removal. (LP: #1508539)

Show diffs side-by-side

added added

removed removed

Lines of Context:
565
565
        removeEssentialOk = self.config.getlist("Distro", "RemoveEssentialOk")
566
566
        # check now
567
567
        for pkg in self:
568
 
            # WORKADOUND bug on the CD/python-apt #253255
 
568
            # WORKAROUND bug on the CD/python-apt #253255
569
569
            ver = pkg._pcache._depcache.get_candidate_ver(pkg._pkg)
570
570
            if ver and ver.priority == 0:
571
571
                logging.error("Package %s has no priority set" % pkg.name)