Skip to content

Commit

Permalink
Fix indentation in EDAlias python dump
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Apr 16, 2021
1 parent 6d2f660 commit 46f36ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FWCore/ParameterSet/python/Modules.py
Expand Up @@ -700,7 +700,7 @@ def testSwithProducerWithAlias(self):
foo = cms.VPSet(cms.PSet(
type = cms.string('Foo2')
))
)
)
)
""")

Expand Down
2 changes: 1 addition & 1 deletion FWCore/ParameterSet/python/Types.py
Expand Up @@ -1444,7 +1444,7 @@ def dumpPython(self, options=PrintOptions()):
options.indent()
resultList.append(options.indentation()+name+' = '+param.dumpPython(options))
options.unindent()
return '\n'.join(resultList)+'\n)'
return '\n'.join(resultList) + '\n' + options.indentation() + ')'

# an EDAlias only references other modules by label, so it does not need their definition
def directDependencies(self):
Expand Down

0 comments on commit 46f36ec

Please sign in to comment.