summaryrefslogtreecommitdiff
path: root/portato/backend/system_interface.py
diff options
context:
space:
mode:
authorNecoro <>2007-10-19 19:25:45 +0000
committerNecoro <>2007-10-19 19:25:45 +0000
commit25edeccbc87cf8821aea8a26faabb899443a3f9c (patch)
tree34d1a2a005d317bc29f3f14f32789ceeb2a771a6 /portato/backend/system_interface.py
parentb40b79fcdcca9418964a44c84e73b61b22caf08f (diff)
downloadportato-25edeccbc87cf8821aea8a26faabb899443a3f9c.tar.gz
portato-25edeccbc87cf8821aea8a26faabb899443a3f9c.tar.bz2
portato-25edeccbc87cf8821aea8a26faabb899443a3f9c.zip
fix in update world - find masked dependencies too
Diffstat (limited to 'portato/backend/system_interface.py')
-rw-r--r--portato/backend/system_interface.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py
index c0f4e68..fce8069 100644
--- a/portato/backend/system_interface.py
+++ b/portato/backend/system_interface.py
@@ -50,11 +50,13 @@ class SystemInterface (object):
raise NotImplementedError
- def find_best_match (self, search_key, only_installed = False, only_cpv = False):
+ def find_best_match (self, search_key, masked = False, only_installed = False, only_cpv = False):
"""Finds the best match in the portage tree. It does not find masked packages!
@param search_key: the key to find in the portage tree
@type search_key: string
+ @param masked: if True, also look for masked packages
+ @type masked: boolean
@param only_installed: if True, only installed packages are searched
@type only_installed: boolean
@param only_cpv: do not return package but only the cpv