Skip to content

Commit

Permalink
use uuid, remove dependency from PandaSI. Fix #4586 (#4872)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jan 17, 2020
1 parent e1cdd9b commit 9506ea5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/python/CRABClient/JobType/Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
import shutil
import string
import tempfile
import uuid
from functools import reduce

from httplib import HTTPException

from WMCore.DataStructs.LumiList import LumiList

import PandaServerInterface as PandaInterface

from ServerUtilities import BOOTSTRAP_CFGFILE_DUMP

from CRABClient.ClientUtilities import colors, LOGGERS
Expand Down Expand Up @@ -55,7 +54,7 @@ def run(self, filecacheurl = None):

# Build tarball
if self.workdir:
tarUUID = PandaInterface.wrappedUuidGen()
tarUUID = str(uuid.uuid4())
self.logger.debug('UNIQUE NAME: tarUUID %s ' % tarUUID)
if len(tarUUID):
tarFilename = os.path.join(self.workdir, tarUUID + 'default.tgz')
Expand Down

0 comments on commit 9506ea5

Please sign in to comment.