Merge "Fix message for unexpected external event" into stable/pike
This commit is contained in:
commit
88a8db4fa2
|
@ -346,7 +346,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