projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2290fed
)
Only use one global statement to avoid bogus python syntax warning.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 27 Apr 2006 09:16:45 +0000
(09:16 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 27 Apr 2006 09:16:45 +0000
(09:16 -0000)
svn path=/main/trunk/; revision=3250
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index f832448d5345ed602fe24bfb5103d1a6a9b99ad0..0a2ddaf5c1a93328f765b92f71d07d5099ca62f7 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2570,13
+2570,11
@@
def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
if not tree:
writemsg("Warning: tree not specified to doebuild\n")
tree = "porttree"
- global actionmap_deps
+ global
db,
actionmap_deps
if mydbapi is None:
- global db
mydbapi = db[myroot][tree].dbapi
if vartree is None:
- global db
vartree = db[myroot]["vartree"]
features = mysettings.features