ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/cmscp.py
(Generate patch)

Comparing COMP/CRAB/python/cmscp.py (file contents):
Revision 1.1 by spiga, Sun Sep 21 10:34:04 2008 UTC vs.
Revision 1.2 by spiga, Mon Sep 22 09:03:17 2008 UTC

# Line 16 | Line 16 | class cmscp:
16          including success checking  version also for CAF using rfcp command to copy the output to SE
17          input:
18             $1 middleware (CAF, LSF, LCG, OSG)
19 <           $2 local file (the physical path of output file respect to current working directory)
20 <           $3 file name (the output file name)
21 <           $4 remote SE_PATH (absolute)
22 <           $5 remote SE
23 <           $6 srm version (only in the case of LCG or OSG)
19 >           $2 local file (the absolute path of output file or just the name if it's in top dir)
20 >           $3 if needed: file name (the output file name)
21 >           $5 remote SE (complete endpoint)
22 >           $6 srm version
23          output:
24               return 0 if all ok
25               return 60307 if srmcp failed
# Line 170 | Line 169 | class cmscp:
169    #      if backup :  
170    #          msg = 'WARNING: backup logic is under implementation\n'
171    #          #backupDict = self.backup()
172 <  #          ### NOTA DEVE RITORNARE UN DICT comprensivo di LFN SE Name  
172 >  #          ### NOTE: IT MUST RETURN a DICT contains also LFN and SE Name  
173    #          results.update(backupDict)
174    #          print msg
175          return results
# Line 253 | Line 252 | class cmscp:
252                  txt +=  'echo "LFN: '+lfn+'"\n'  
253                  txt +=  'echo "StorageElement: '+se+'"\n'  
254                  txt += 'echo "StageOutExitStatusReason ='+dict['reason']+'" | tee -a $RUNTIME_AREA/$repo\n'
255 <                txt += 'echo "StageOutSE = '+dict['se']+'" >> $RUNTIME_AREA/$repo\n'
255 >                txt += 'echo "StageOutSE = '+se+'" >> $RUNTIME_AREA/$repo\n'
256                  if dict['erCode'] != '0':
257                      cmscp_exit_status = dict['erCode']
258              txt += '\n'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines