Skip to content

Commit

Permalink
Merge pull request #34408 from slava77/patch-100
Browse files Browse the repository at this point in the history
clear a SyntaxWarning in ConfigBuilder.py
  • Loading branch information
cmsbuild authored Jul 12, 2021
2 parents 6902f99 + b4913b7 commit 1c49b59
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 @@ -2263,7 +2263,7 @@ def prepare(self, doChecking = False):
self.pythonCfgCode+="from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask\n"
self.pythonCfgCode+="associatePatAlgosToolsTask(process)\n"

if self._options.nThreads is not "1":
if self._options.nThreads != "1":
self.pythonCfgCode +="\n"
self.pythonCfgCode +="#Setup FWK for multithreaded\n"
self.pythonCfgCode +="process.options.numberOfThreads = "+self._options.nThreads+"\n"
Expand Down

0 comments on commit 1c49b59

Please sign in to comment.