~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/distroseries.py

  • Committer: Raphael Badin
  • Date: 2012-01-06 08:27:55 UTC
  • mfrom: (14513.5.4 builder-history-lfa)
  • mto: This revision was merged to the branch mainline in revision 14654.
  • Revision ID: raphael.badin@canonical.com-20120106082755-95a0eh6nakv5hj3b
Merge devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1459
1459
                packagenames)
1460
1460
            for spph in spphs:
1461
1461
                latest_release = latest_releases.get(spph.meta_sourcepackage)
1462
 
                if latest_release is not None and apt_pkg.VersionCompare(
 
1462
                if latest_release is not None and apt_pkg.version_compare(
1463
1463
                    latest_release.version, spph.source_package_version) > 0:
1464
1464
                    version = latest_release
1465
1465
                else: