summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-05-16 17:47:27 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-05-16 17:47:27 +0200
commitf8e2398f5d965e43c860f79739c0934652ff4c56 (patch)
tree74277e91da30de0dde543268ea48cfcba14e042f /portato
parent5deee052e61cdc875fe99db63bcc1c1b95c5749d (diff)
downloadportato-f8e2398f5d965e43c860f79739c0934652ff4c56.tar.gz
portato-f8e2398f5d965e43c860f79739c0934652ff4c56.tar.bz2
portato-f8e2398f5d965e43c860f79739c0934652ff4c56.zip
Fixed 'find_best_match' and 'update_world' to better mimic portage's behavior
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/system.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py
index 10fa9bc..459fe07 100644
--- a/portato/backend/portage/system.py
+++ b/portato/backend/portage/system.py
@@ -177,7 +177,7 @@ class PortageSystem (SystemInterface):
raise
if self._version >= (2,1,5) or only_installed:
- t += [pkg.get_cpv() for pkg in self.find_installed_packages(search_key) if not pkg.is_masked()]
+ t += [pkg.get_cpv() for pkg in self.find_installed_packages(search_key) if not (pkg.is_testing(True) or pkg.is_masked())]
if t:
t = unique_array(t)
@@ -454,7 +454,7 @@ class PortageSystem (SystemInterface):
else:
for pkg in bm:
if not pkg: continue
- if pkg.is_masked() or pkg.is_testing(True): # check to not update unnecessairily
+ if not pkg.is_installed() and (pkg.is_masked() or pkg.is_testing(True)): # check to not update unnecessairily
cont = False
for inst in self.find_installed_packages(pkg.get_cp(), only_cpv = True):
if self.cpv_matches(inst, i):
n title='2010-04-19 19:10:27 +0200'>2010-04-19Connect the accels from the menu.René 'Necoro' Neumann1-12/+16 Also remove the superfluous 'UIBuilder' class and merge it directly into Window. 2010-04-19Replace 'Portage Warning' by 'External Warning'René 'Necoro' Neumann1-1/+1 2010-04-17Updated italian translation. Thx to PonsiRené 'Necoro' Neumann1-314/+369 2010-04-16Fix gtk deprecation warningRené 'Necoro' Neumann1-1/+1 2010-04-16TypoRené 'Necoro' Neumann2-3/+3 2010-04-16Do not allow portage's sqlite backend for the moment ... bug #564292René 'Necoro' Neumann2-16/+25 2010-04-15Better sorting of the database types in the preferences.René 'Necoro' Neumann2-6/+6 Now they are displayed from best to worst. 2010-04-15Add notify-python dependency for the version checkerRené 'Necoro' Neumann1-1/+1 2010-04-15Make the database type choice an info messageRené 'Necoro' Neumann2-7/+13 2010-04-15Renamed es_ES to esRené 'Necoro' Neumann1-0/+0 2010-04-15Fixed dependancy of the new_version plugin from "dev-util/git" to ↵Clement Bourgeois1-1/+1 "dev-vcs/git" to follow new Gentoo portage tree modifications 2010-04-14Make some useless info messages being debug statementsRené 'Necoro' Neumann2-34/+17 2010-04-14Improve the C modulesRené 'Necoro' Neumann3-37/+52 2010-04-14Small modifications made to the French translation (typos, grammar).Clement Bourgeois1-69/+69 2010-04-14Fixed the unicode support and stuff ... and also made eix faster :)René 'Necoro' Neumann1-20/+22 2010-04-14Disable debug messages by defaultRené 'Necoro' Neumann1-1/+1 2010-04-13Better eix error inheritance and handlingRené 'Necoro' Neumann1-2/+9 2010-04-13Fix the handling of FilterSets. Fixes bug #558887.René 'Necoro' Neumann2-56/+64 Now FilterSets are a subclass of InstalledSet. And return only these packages, which are installed ... but then all of them. 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1