Restored sorted.

This commit is contained in:
Itamar Turner-Trauring 2020-11-11 10:52:57 -05:00
parent e41e660917
commit 1aeb46aadc

View File

@ -901,7 +901,7 @@ class Publish(object):
def log_goal(self, goal, message=""):
logmsg = [message]
for (shnum, server) in [(s,p) for (p,s) in goal]:
for (shnum, server) in sorted([(s,p) for (p,s) in goal]):
logmsg.append("sh%d to [%s]" % (shnum, server.get_name()))
self.log("current goal: %s" % (", ".join(logmsg)), level=log.NOISY)
self.log("we are planning to push new seqnum=#%d" % self._new_seqnum,