[qmtest] Remove gratuitous use of eval in database.py

Mark Mitchell mark at codesourcery.com
Wed May 18 22:58:03 UTC 2005


Zack Weinberg wrote:
> database.py uses eval when getattr will do.

>         * qm/test/database.py (ItemDescriptor._Execute): Use getattr
>         and a bound method object instead of eval.

Yes, that's definitely better.  Please check in!

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304



More information about the qmtest mailing list