summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/backend/__init__.py1
-rw-r--r--portato/backend/package.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/portato/backend/__init__.py b/portato/backend/__init__.py
index 55cb10b..ef6811f 100644
--- a/portato/backend/__init__.py
+++ b/portato/backend/__init__.py
@@ -26,6 +26,7 @@ portage.settings = None # we use our own one ...
# portage tree vars
porttree = gentoolkit.porttree
vartree = gentoolkit.vartree
+trees = portage.db
# import our packages
from exceptions import *
diff --git a/portato/backend/package.py b/portato/backend/package.py
index 8b56eb5..82e0b22 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -262,7 +262,7 @@ class Package (gentoolkit.Package):
# let portage do the main stuff ;)
# pay attention to any changes here
- deps = portage.dep_check (self.get_env_var("RDEPEND")+" "+self.get_env_var("DEPEND")+" "+self.get_env_var("PDEPEND"), vartree.dbapi, self._settings, myuse = actual)
+ deps = portage.dep_check (self.get_env_var("RDEPEND")+" "+self.get_env_var("DEPEND")+" "+self.get_env_var("PDEPEND"), vartree.dbapi, self._settings, myuse = actual, trees = trees)
if not deps: # FIXME: what is the difference to [1, []] ?
return []