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/gui/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/gui/queue.py') diff --git a/portato/gui/queue.py b/portato/gui/queue.py index e73891d..6d3d19d 100644 --- a/portato/gui/queue.py +++ b/portato/gui/queue.py @@ -144,7 +144,7 @@ class EmergeQueue: old = system.find_packages(pkg.get_slot_cp(), system.SET_INSTALLED) if old: old = old[0] # assume we have only one there - cmp = pkg.compare_version(old) + cmp = pkg.__cmp__(old) if cmp > 0: update = True elif cmp < 0: -- cgit v1.2.3-70-g09d2