FIX: added missing import 'DIRAC.Interfaces.API.Dirac'
FIX: renamed keyword arguments to lower-camel-case
FIX: added self to method call
FIX: added 'DIRAC.Resources.Computing.PilotBundle' import
FIX: commented out unused - buggy code
FIX: commited unused - buggy code
FIX: commented unused - buggy code. Waiting to be reused.
FIX: updated string.split( <str> ) to <str>.split()
FIX: wrong imported function 'getStorageElementOptions', it is
'Resources.getStorageElementOptionsDict'
FIX: added missing S_OK, S_ERROR
Merge pull request #1285 from ubeda/FIX_v6r8_bugfixes

[v6r8]FIX: bugfixes