Commit b08181e9 by Michael DeHaan

Merge pull request #2731 from stoned/flush_handlers-cleanup

handlers must be run once
parents b1d40ed0 747c7f0d
......@@ -509,7 +509,7 @@ class PlayBook(object):
self._run_task(play, handler, True)
self.inventory.lift_restriction()
for host in handler.notified_by:
handler.notified_by.remove(host)
handler.notified_by[:] = [h for h in handler.notified_by if h != host]
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment