Skip to content

Commit 1f57901

Browse files
authored
Merge pull request #831 from ganga-devs/GaudiExecFix
A fix for the thread lock in the GaudiExec prepare
2 parents da8c02b + 203eeb4 commit 1f57901

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

python/Ganga/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def getLCGRootPath():
2525

2626
# ------------------------------------------------
2727
# store Ganga version based on new git tag for this file
28-
_gangaVersion = '$Name: 6.2.1 $'
28+
_gangaVersion = '$Name: 6.2.0 $'
2929

3030
# [N] in the pattern is important because it prevents CVS from expanding the pattern itself!
3131
r = re.compile(r'\$[N]ame: (?P<version>\S+) \$').match(_gangaVersion)

python/GangaDirac/Lib/RTHandlers/DiracRTHUtils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def dirac_outputfile_jdl(output_files, empty_SE_check):
8787
if empty_SE_check:
8888
## If true check, if not false check
8989
raise BackendError("Dirac", "Can't submit a DIRAC job with DiracFile outputfile without setting a defaultSE.")
90-
config = getConfig('Dirac')
9190
myLine = myLine.replace('###OUTPUT_SE###', str([]))
9291

9392
total_JDL += myLine + "\n"

python/GangaLHCb/Lib/Applications/GaudiExec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def masterPrepLock(self, *args, **kwds):
4242

4343
# Get the global lock and prepare
4444
with gaudiExecBuildLock.globalBuildLock:
45-
return f(*args, **kwds)
45+
return f(self,*args, **kwds)
4646

4747
return masterPrepLock
4848

0 commit comments

Comments
 (0)