diff options
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index cb6ce4de4..9d2526f21 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4039,7 +4039,8 @@ def dep_check(depstring, mydbapi, mysettings, use="yes", mode=None, myuse=None, """Takes a depend string and parses the condition.""" edebug = mysettings.get("PORTAGE_DEBUG", None) == "1" #check_config_instance(mysettings) - + if trees is None: + trees = globals()["db"] if use=="yes": if myuse is None: #default behavior |