diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-04-27 09:16:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-04-27 09:16:45 +0000 |
commit | f78c4f18d92e90c839bdfdf309fa7fdbc8b15c3d (patch) | |
tree | ebdb201ba7261eade7803c2aeca5f6a591416ac8 | |
parent | 2290fed78a6259e98e2f50f6c523740b168adaeb (diff) | |
download | portage-f78c4f18d92e90c839bdfdf309fa7fdbc8b15c3d.tar.gz portage-f78c4f18d92e90c839bdfdf309fa7fdbc8b15c3d.tar.bz2 portage-f78c4f18d92e90c839bdfdf309fa7fdbc8b15c3d.zip |
Only use one global statement to avoid bogus python syntax warning.
svn path=/main/trunk/; revision=3250
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py index f832448d5..0a2ddaf5c 100644 --- 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 |