summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/backend/catapult/package.py4
-rw-r--r--portato/backend/catapult/system.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/backend/catapult/package.py b/portato/backend/catapult/package.py
index a756f33..1ed818e 100644
--- a/portato/backend/catapult/package.py
+++ b/portato/backend/catapult/package.py
@@ -51,10 +51,10 @@ class CatapultPackage(Package):
return self.proxy.is_installed(self.get_cpv())
def is_overlay(self):
- return self.proxy.is_overlay(self.get_cpv())
+ return self.proxy.is_in_overlay(self.get_cpv())
def get_overlay_path(self):
- return self.proxy.is_overlay_path(self.get_cpv())
+ return self.proxy.get_overlay_path(self.get_cpv())
def is_in_system (self):
return self.proxy.is_in_system(self.get_cpv())
diff --git a/portato/backend/catapult/system.py b/portato/backend/catapult/system.py
index ba73ef6..e72bdda 100644
--- a/portato/backend/catapult/system.py
+++ b/portato/backend/catapult/system.py
@@ -51,7 +51,7 @@ class CatapultSystem (SystemInterface):
return self.proxy.split_cpv(cpv)
def cpv_matches (self, cpv, criterion):
- return self.proxy.cpv_matches(cpv, criterion)
+ return CatapultPackage(cpv).matches(criterion)
def find_best(self, list, only_cpv = False):
if only_cpv: