~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archivepublisher/domination.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:
95
95
 
96
96
 
97
97
# Ugly, but works
98
 
apt_pkg.InitSystem()
 
98
apt_pkg.init_system()
99
99
 
100
100
 
101
101
def join_spph_spn():
190
190
        If both publications are for the same version, their creation dates
191
191
        break the tie.
192
192
        """
193
 
        version_comparison = apt_pkg.VersionCompare(
 
193
        version_comparison = apt_pkg.version_compare(
194
194
            self.getPackageVersion(pub1), self.getPackageVersion(pub2))
195
195
 
196
196
        if version_comparison == 0: