Commit 141e7eb4 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Lars-Peter Clausen

Moved execution into global namespace. Fixes import statements inside of

2008-08-24  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/plug-ins/python-fu-eval.py: Moved execution into
	global namespace. Fixes import statements inside of evaled code.


svn path=/trunk/; revision=26746
parent 0527aaa3
2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/plug-ins/python-fu-eval.py: Moved execution into
global namespace. Fixes import statements inside of evaled code.
2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Fix wrong strcmp
......
......@@ -23,7 +23,7 @@ def code_eval(code):
if code == '-':
import sys
code = sys.stdin
exec code
exec code in globals()
register(
"python-fu-eval",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment