Sort servers by sid for consistent output
This commit is contained in:
parent
ef66b45e21
commit
ba47122f50
|
@ -87,7 +87,7 @@ def main(configuration):
|
||||||
online_dc=configuration.getboolean('General', 'onlinedc')
|
online_dc=configuration.getboolean('General', 'onlinedc')
|
||||||
)
|
)
|
||||||
render_servers(
|
render_servers(
|
||||||
servers,
|
sorted(servers, key=lambda s: s.sid),
|
||||||
output=abspath(configuration.get('General', 'output')),
|
output=abspath(configuration.get('General', 'output')),
|
||||||
template=configuration.get('General', 'template'),
|
template=configuration.get('General', 'template'),
|
||||||
datetime_fmt=configuration.get('General', 'datetimeformat'),
|
datetime_fmt=configuration.get('General', 'datetimeformat'),
|
||||||
|
|
Loading…
Reference in New Issue