projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b35d7d
)
Merged from trunk 5397:5398
author
Fabian Groffen
<grobian@gentoo.org>
Wed, 27 Dec 2006 18:03:15 +0000
(18:03 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Wed, 27 Dec 2006 18:03:15 +0000
(18:03 -0000)
Allow dep_check to use the global db for compatibility (fixes
python-updater breakage).
svn path=/main/branches/prefix/; revision=5400
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index b7e7f0d4541e7ff933afa372493d881528a77db6..25ae06e5166e9db4c412655d715a2bfd0ce1dfed 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-4046,7
+4046,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