This commit is contained in:
Daniel A. Wozniak 2019-04-14 05:23:09 +00:00 committed by Pedro Algarvio
parent 6c8c4182dd
commit 0f5a7f0abf
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -710,8 +710,9 @@ class SaltMinionEventAssertsMixin(object):
while True:
try:
event = self.q.get(False)
except Emtpy:
except Empty:
time.sleep(sleep_time)
continue
if isinstance(event, dict):
event.pop('_stamp')
if desired_event == event: