Skip to content

Commit

Permalink
Merge pull request #29219 from silviodonato/DQM-fix-py3
Browse files Browse the repository at this point in the history
Fix Python3 problems with #28920
  • Loading branch information
cmsbuild authored Mar 17, 2020
2 parents 32ef34b + c9498ec commit 87c17b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,7 @@ def prepare(self, doChecking = False):
self.pythonCfgCode +="process.options.numberOfThreads=cms.untracked.uint32("+self._options.nThreads+")\n"
self.pythonCfgCode +="process.options.numberOfStreams=cms.untracked.uint32("+self._options.nStreams+")\n"
self.pythonCfgCode +="process.options.numberOfConcurrentLuminosityBlocks=cms.untracked.uint32("+self._options.nConcurrentLumis+")\n"
if self._options.nConcurrentLumis > 1:
if int(self._options.nConcurrentLumis) > 1:
self.pythonCfgCode +="if hasattr(process, 'DQMStore'): process.DQMStore.assertLegacySafe=cms.untracked.bool(False)\n"
self.process.options.numberOfThreads=cms.untracked.uint32(int(self._options.nThreads))
self.process.options.numberOfStreams=cms.untracked.uint32(int(self._options.nStreams))
Expand Down

0 comments on commit 87c17b3

Please sign in to comment.