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.27 by ewv, Tue Aug 18 15:00:37 2009 UTC vs.
Revision 1.28 by spiga, Sat Dec 12 16:35:39 2009 UTC

# Line 11 | Line 11 | from crab_exceptions import CrabExceptio
11   import common
12   import os
13   import socket
14 < import sha
14 > from crab_util import hashlib_wrap
15  
16   class SchedulerCondor(SchedulerLocal) :
17      """
# Line 68 | Line 68 | class SchedulerCondor(SchedulerLocal) :
68          return
69  
70      def envUniqueID(self):
71 <        taskHash = sha.new(common._db.queryTask('name')).hexdigest()
71 >        taskHash = hashlib_wrap(common._db.queryTask('name'))
72          id = "https://" + socket.gethostname() + '/' + taskHash + "/${NJob}"
73          return id
74  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines