Skip to content

Commit

Permalink
Merge pull request #9640 from ahinzmann/fixConfigEditor
Browse files Browse the repository at this point in the history
Fix ConfigEditor to handle VPSet which have no label
  • Loading branch information
davidlange6 committed Jun 19, 2015
2 parents 3768e11 + 350fa35 commit 948cad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/GuiBrowsers/python/ConfigToolBase.py
Expand Up @@ -140,7 +140,7 @@ def dumpPython(self):
dumpPython = '#'+self._comment
dumpPython += "\n"+self._label+"(process "
for key in self._parameters.keys():
if str(self._parameters[key].value)!=str(self._defaultParameters[key].value):
if repr(self._parameters[key].value)!=repr(self._defaultParameters[key].value):
dumpPython+= ", "+str(key)+" = "
if self._parameters[key].type is str:
string = "'"+str(self.getvalue(key))+"'"
Expand Down

0 comments on commit 948cad2

Please sign in to comment.