Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wizard: ged rid of eval() statements #2329
As @timlinux suggested, getattr should be rather used for accessing dictionaries from definitions.py.
See also PR #2323.
Timlinux says: see https://github.com/AIFDR/inasafe/pull/2328/files#diff-844316bf2c24e3915be331fde33f5059R679 for the final (re-usable) method I made to get a definition given a key. I will go ahead and apply this PR.