Skip to content

Commit

Permalink
fix ConfigToolBase to handle VPSet which has no label
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjiexin3 authored and ahinzmann committed Jun 16, 2015
1 parent 100d06a commit 350fa35
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 350fa35

Please sign in to comment.