# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |