From ce9f4821e2238ca2961002ad3f872e8432267ee2 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 5 Oct 2009 15:25:22 +0200 Subject: Enhanced system.sort_package_list to also sort CPVs --- portato/backend/package.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'portato/backend/package.py') diff --git a/portato/backend/package.py b/portato/backend/package.py index 8a80fd5..c085816 100644 --- a/portato/backend/package.py +++ b/portato/backend/package.py @@ -371,16 +371,6 @@ class Package (_Package): raise NotImplementedError - def compare_version(self, other): - """Compares this package's version to another's CPV; returns -1, 0, 1. - - @param other: the other package - @type other: Package - @returns: -1, 0 or 1 - @rtype: int""" - - raise NotImplementedError - def matches (self, criterion): """This checks, whether this package matches a specific versioning criterion - e.g.: "<=net-im/foobar-1.2". -- cgit v1.2.3-54-g00ecf