GENI-NSF / geni-ch

GENI clearinghouse services
Other
3 stars 6 forks source link

SliceAuthority uses eval, should use getattr instead #475

Open tcmitchell opened 8 years ago

tcmitchell commented 8 years ago

There are a number of calls to eval() in SAv1PersistentImplementation.modify_membership that could and should be replaced by getattr(). Using getattr() would be safer and faster.

tcmitchell commented 8 years ago

There are a few other calls to eval elsewhere that should be looked at as well.