
eval will execute a function before it has been determined to be a python data type. Instead, use ast.literal_eval which validates the object is a data type before executing it. See: http://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html (copied from Ia3d74747e66d72e97a3fb9029bd51331c902f874) Change-Id: Iae0d42f8d14f66d6ea6cf2201646d8a796cc0cc9