diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-10-05 15:25:22 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-10-05 15:25:22 +0200 |
commit | ce9f4821e2238ca2961002ad3f872e8432267ee2 (patch) | |
tree | e79dd48001e5a54d863ae0c43ab84ecc71e5e976 /portato/gui | |
parent | 7a38fcc10c89f401cdd2acb716f5200ad906fd9c (diff) | |
download | portato-ce9f4821e2238ca2961002ad3f872e8432267ee2.tar.gz portato-ce9f4821e2238ca2961002ad3f872e8432267ee2.tar.bz2 portato-ce9f4821e2238ca2961002ad3f872e8432267ee2.zip |
Enhanced system.sort_package_list to also sort CPVs
Diffstat (limited to '')
-rw-r--r-- | portato/gui/queue.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |