Skip to content

Commit

Permalink
Merge pull request #33634 from missirol/devel_configTrailingWhitespaces
Browse files Browse the repository at this point in the history
avoiding trailing whitespaces in config dump
  • Loading branch information
cmsbuild authored May 6, 2021
2 parents e1e024f + 821ee25 commit 601fbc5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions FWCore/ParameterSet/python/Mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,10 @@ def dumpPython(self, options=PrintOptions()):
if i == 0:
if n>nPerLine: result += '\n'+options.indentation()
else:
result += ', '
if i % nPerLine == 0:
result += '\n'+options.indentation()
result += ',\n'+options.indentation()
else:
result += ', '
result += self.pythonValueForItem(v,options)
if n>nPerLine:
options.unindent()
Expand Down

0 comments on commit 601fbc5

Please sign in to comment.