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

Comparing COMP/CRAB/python/DBinterface.py (file contents):
Revision 1.54 by spiga, Sat Mar 7 16:32:14 2009 UTC vs.
Revision 1.57 by spiga, Tue Apr 14 18:58:51 2009 UTC

# Line 81 | Line 81 | class DBinterface:
81          """
82          opt={}
83          if optsToSave.get('server_mode',0) == 1: opt['serverName']=optsToSave['server_name']
84 <        opt['name']= getUserName(self)+ '_' + string.split(common.work_space.topDir(),'/')[-2]+'_'+common.work_space.task_uuid()
84 >        opt['name']= getUserName()+ '_' + string.split(common.work_space.topDir(),'/')[-2]+'_'+common.work_space.task_uuid()
85          task = Task( opt )
86          try:
87              common.bossSession.saveTask( task )
# Line 378 | Line 378 | class DBinterface:
378  
379                  ## unsing 'standardInput' field for 'ended' tag ['Y','N']
380                  job['standardInput'] = str( rForJ.getAttribute('ended') )
381 +
382 +            ## for release > 251  
383 +            #    job.runningJob['state'] = str( rForJ.getAttribute('action') )
384            
385              #if str( rForJ.getAttribute('resubmit') ).isdigit():
386              #    job['submissionNumber'] = int(rForJ.getAttribute('resubmit'))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines