From 4c3204cff523916d6817bcca5881a3af174b4995 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Mon, 17 Nov 2014 16:37:07 -0700 Subject: [PATCH] modernize took out the next and the name --- salt/daemons/flo/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/daemons/flo/core.py b/salt/daemons/flo/core.py index c41edf8841..74032eab3b 100644 --- a/salt/daemons/flo/core.py +++ b/salt/daemons/flo/core.py @@ -555,7 +555,7 @@ class SaltLoadPillar(ioflo.base.deeding.Deed): self.master_estate_name.value = master.name route = {'src': (self.road_stack.value.local.name, None, None), - 'dst': (six.itervalues(self.road_stack.value.remotes), None, 'remote_cmd')} + 'dst': (next(six.itervalues(self.road_stack.value.remotes)).name, None, 'remote_cmd')} load = {'id': self.opts.value['id'], 'grains': self.grains.value, 'saltenv': self.opts.value['environment'],