[v6r11] Set an env variable with the workDirectory

Yes indeed, this is “a bit” horrible!!! But changing a piece of a string in a serialized object is not really possible, therefore this horrible hack… It works b.t.w. !!!
Ciao, Philippe

Le 7 août 2014 à 15:52, Andrei Tsaregorodtsev <notifications@github.com> a écrit :

> In RequestManagementSystem/Agent/RequestOperations/ForwardDISET.py:
> 
> > @@ -50,6 +50,9 @@ def __call__( self ):
> >      # # decode arguments
> >      try:
> >        decode, length = DEncode.decode( self.operation.Arguments )
> > +      # FIXME: to be removed when the problem is fixed in the LHCb HLT farm
> > +      if 'CPUFactor_to_be_replace' in self.operation.Arguments and len( decode ) == 3 and type( decode[2] ) == type( tuple() ):
> > +        decode = ( decode[0], decode[1], tuple( [x.replace( 'CPUFactor_to_be_replace', '0' ) for x in decode[2]] ) )
> Oh, what's a hack ! Do not forget to remove it as soon as possible, please
> 
> —
> Reply to this email directly or view it on GitHub.
> 

-- 
Dr Philippe Charpentier
J09210, Physics Department, CERN, CH-1211 Genève 23
LHCb Experiment Distributed Computing Coordinator
Office 2-R-007, Tel : +41 22 767 4244 ,  GSM : +41 76 487 0167
mailto:Philippe.Charpentier@cern.ch  http://cern.ch/Philippe.Charpentier