X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fchangesutils.py;h=d1dbad84a8149c1dc7cc3bf40fbc4e31062c3c07;hb=49c85ab8a723a425cc6539dd138dcd9e0913ab9f;hp=3a4c6dd77a292582592a51072df8688d07fcf589;hpb=f1bfe2d32f1bf808b52e4f1bf95a3bdf6cd96aa2;p=dak.git diff --git a/daklib/changesutils.py b/daklib/changesutils.py index 3a4c6dd7..d1dbad84 100755 --- a/daklib/changesutils.py +++ b/daklib/changesutils.py @@ -45,7 +45,7 @@ def indiv_sg_compare (a, b): """Sort by source name, source, version, 'have source', and finally by filename.""" # Sort by source version - q = apt_pkg.VersionCompare(a["version"], b["version"]) + q = apt_pkg.version_compare(a["version"], b["version"]) if q: return -q