sort zone list, assert unique elements
This commit is contained in:
parent
c5975d23f7
commit
60e7fb5596
|
|
@ -359,7 +359,10 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
|
|||
|
||||
# if we have an explicit list of visible zones, add them
|
||||
if visibleZoneList is not None:
|
||||
for zone in visibleZoneList:
|
||||
vzl = list(visibleZoneList)
|
||||
vzl.sort()
|
||||
assert PythonUtil.uniqueElements(vzl)
|
||||
for zone in vzl:
|
||||
datagram.addUint32(zone)
|
||||
|
||||
# send the message
|
||||
|
|
|
|||
Loading…
Reference in New Issue