use getattr() instead of eval(), fix string representations
1 file changed