projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e1f30
)
Allow dep_check to use the global db for compatibility (fixes python-updater breakage).
author
Zac Medico
<zmedico@gentoo.org>
Wed, 27 Dec 2006 00:11:18 +0000
(
00:11
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 27 Dec 2006 00:11:18 +0000
(
00:11
-0000)
svn path=/main/trunk/; revision=5398
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index cb6ce4de499d1026ea29a3abb478e4c537f5e149..9d2526f21995cd3d1a578005105a1affa0450897 100644
(file)
--- 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