summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/backend/catapult/system.py3
-rw-r--r--portato/backend/package.py1
2 files changed, 1 insertions, 3 deletions
diff --git a/portato/backend/catapult/system.py b/portato/backend/catapult/system.py
index 5b019e4..7584d13 100644
--- a/portato/backend/catapult/system.py
+++ b/portato/backend/catapult/system.py
@@ -86,9 +86,8 @@ class CatapultSystem (SystemInterface):
l = self.proxy.find_packages(key, set, masked, withVersion)
except dbus.DBusException, e:
name, data = str(e).split("\n")[-2].split(": ")[1:]
- debug((name, data))
- if name == "org.gentoo.catapult.AmbigousPackageError":
+ if name == catapult.CATAPULT_ERR_AMBIGUOUS_PACKAGE:
debug("Ambigous packages: %s.", data)
l = []
for cp in data.split(","):
diff --git a/portato/backend/package.py b/portato/backend/package.py
index 02579fb..0ac22d3 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -177,7 +177,6 @@ class Package (_Package):
"""
deps = " ".join(map(self.get_package_settings, ("RDEPEND", "PDEPEND", "DEPEND")))
deps = paren_reduce(deps)
- debug("Dependencies: %s", deps)
tree = DependencyTree()