Commit cc0529a3 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange Committed by Emmanuel Papillon
Browse files

setting: sorted display of the parameters arguments.

parent 9858c915
......@@ -713,7 +713,7 @@ class Parameters(object):
d = dict(self._proxy.iteritems())
max_len = max((len(x) for x in d.keys()))
str_format = ' .%-' + '%ds' % max_len + ' = %r\n'
for key,value in d.iteritems():
for key,value in sorted(d.iteritems()):
rep_str += str_format % (key,value)
return rep_str
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment