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

Comparing COMP/CRAB/python/SchedulerCondor.py (file contents):
Revision 1.21 by spiga, Fri Mar 6 16:54:42 2009 UTC vs.
Revision 1.23 by ewv, Mon Mar 9 15:56:26 2009 UTC

# Line 38 | Line 38 | class SchedulerCondor(SchedulerLocal) :
38          """
39  
40          SchedulerLocal.configure(self, cfg_params)
41        taskHash = sha.new(common._db.queryTask('name')).hexdigest()
42        self.environment_unique_identifier = "https://" + \
43            socket.gethostname() + '/' + taskHash + "/${NJob}"
41  
42          try:
43              tmp =  cfg_params['CMSSW.datasetpath']
# Line 74 | Line 71 | class SchedulerCondor(SchedulerLocal) :
71  
72          return
73  
74 +    def envUniqueID(self):
75 +        taskHash = sha.new(common._db.queryTask('name')).hexdigest()
76 +        id = "https://" + socket.gethostname() + '/' + taskHash + "/${NJob}"
77 +        return id
78  
79      def sched_parameter(self, i, task):
80          """

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines