DIRACGrid/DIRAC — pull request #561 by KrzysztofCiba (2012-03-07 14:51:24+00:00)
Title: FIX: remove exec() statement from DIRAC

Hopefully all is done, no more exec() statements in DIRAC.

Instead an object is asked to have a requested method defined using:
```hasattr( obj, methodName ) and callable( getattr( obj, methodName) )```.

If this is not the case, ```S_ERROR``` with message explaining absence of function is returned.

Otherwise the correct method is retrieved and executed using:
'''
fcn = getattr( obj, methodName )
res = fcn( params, *args, **kwargs )
"""
depending of previous ```exec( execString )``` implementation.