>
> val('self.' + attr + '=\'' + val + '\'')
>

Obviously that was eval, not val. Also it doesn't work without the escaped
single quotes, either.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to