mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Py3 compatibility
This commit is contained in:
parent
2f7c55d0fa
commit
36d1715112
@ -1430,7 +1430,7 @@ class SaltRaetEventerMaster(SaltRaetEventer):
|
||||
if self.opts.value.get('cluster_mode'):
|
||||
if msg.get('origin') is None:
|
||||
masters = (self.availables.value &
|
||||
set((remote.name for remote in self.road_stack.value.remotes.values()
|
||||
set((remote.name for remote in six.itervalues(self.road_stack.value.remotes)
|
||||
if remote.kind == kinds.applKinds.master)))
|
||||
for name in masters:
|
||||
remote = self.road_stack.value.nameRemotes[name]
|
||||
|
Loading…
Reference in New Issue
Block a user