Merge "Fix message for unexpected external event"
This commit is contained in:
commit
f80b4e5009
|
@ -342,7 +342,7 @@ class InstanceEvents(object):
|
||||||
|
|
||||||
@utils.synchronized(self._lock_name(instance))
|
@utils.synchronized(self._lock_name(instance))
|
||||||
def _pop_event():
|
def _pop_event():
|
||||||
if not self._events:
|
if self._events is None:
|
||||||
LOG.debug('Unexpected attempt to pop events during shutdown',
|
LOG.debug('Unexpected attempt to pop events during shutdown',
|
||||||
instance=instance)
|
instance=instance)
|
||||||
return no_events_sentinel
|
return no_events_sentinel
|
||||||
|
|
Loading…
Reference in New Issue