summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-06-24 20:39:51 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-06-24 20:39:51 +0200
commit235a2b16ef2b6e562ce31a81f9c69451d6da6a39 (patch)
treee05f5dc17a8ebf1a411bd12d69da27323f43e44d
parent7803c12bd766ebea8f5f5dcba3af06ace7e6931b (diff)
downloadportato-235a2b16ef2b6e562ce31a81f9c69451d6da6a39.tar.gz
portato-235a2b16ef2b6e562ce31a81f9c69451d6da6a39.tar.bz2
portato-235a2b16ef2b6e562ce31a81f9c69451d6da6a39.zip
Have blocks as packages and not as CPV
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py
index 3502306..db9866a 100644
--- a/portato/backend/portage/package.py
+++ b/portato/backend/portage/package.py
@@ -221,7 +221,7 @@ class PortagePackage (Package):
for dep in deps:
if dep[0] == '!': # blocking sth
- blocked = system.find_packages(dep, "installed", only_cpv = True)
+ blocked = system.find_packages(dep, "installed")
if len(blocked) == 1: # only exact one match allowed to be harmless
if blocked[0].get_slot_cp() == self.get_slot_cp(): # blocks in the same slot are harmless
continue