diff options
author | Necoro <> | 2007-10-10 17:04:43 +0000 |
---|---|---|
committer | Necoro <> | 2007-10-10 17:04:43 +0000 |
commit | d14f493eaef54c9120d9c24951d82c45a0b51f44 (patch) | |
tree | 8099f6fd9d5ae5da93f78526f91e3089cd5b9903 /portato | |
parent | 0abea23fb64b0ab008ec66a326b07b53737024c8 (diff) | |
download | portato-d14f493eaef54c9120d9c24951d82c45a0b51f44.tar.gz portato-d14f493eaef54c9120d9c24951d82c45a0b51f44.tar.bz2 portato-d14f493eaef54c9120d9c24951d82c45a0b51f44.zip |
small changes
Diffstat (limited to '')
-rw-r--r-- | portato/backend/catapult/package.py | 4 | ||||
-rw-r--r-- | portato/backend/catapult/system.py | 2 |
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: |