Use locals() instead of setattr to insert generated functions into the current module...
authorZac Medico <zmedico@gentoo.org>
Sun, 18 Mar 2007 00:25:43 +0000 (00:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 18 Mar 2007 00:25:43 +0000 (00:25 -0000)
commit393ed1e409b2f295a47f133ce4d2d920fc15770a
tree87d621ffc48884cb7d2573d027be5a60e4358449
parent4505eb2b4855df288327682c646b49c67a94f9ba
Use locals() instead of setattr to insert generated functions into the current module.  Thanks to Brian Harring for the suggestion.

svn path=/main/trunk/; revision=6241
pym/portage/output.py
pym/portage/tests/bin/setup_env.py