don't fire master events if the queue is empty!

This commit is contained in:
Thomas S Hatch 2015-01-26 17:31:48 -07:00
parent 1421ed22d8
commit 185856ddbb

View File

@ -1250,6 +1250,8 @@ class SaltRaetMasterEvents(ioflo.base.deeding.Deed):
self.master_events.value = deque()
def action(self):
if not self.master_events.value:
return
events = []
for master in self.road_stack.value.remotes:
master_uid = master