Hi there!
I’ll use this line in one of my scripts to get a list of all my slaves to further filter based on the jobs they are rendering at that moment:
allslaves = RepositoryUtils.GetSlaveInfoSettings(True)
When I now do a
for slaves in allslaves:
the slaves are not sorted by any plausible logic. Is it possible to sort the ‘allslaves’ by a defined value (machinename or so), so I can get sorted results afterwards?
Maybe that’s a very dumb question, but my Python knowledge is quite limited.
Thanks, Abraham