Merge "Handle if "TRUNK_SKELETON" is not loaded"
This commit is contained in:
commit
ca2a06a597
@ -105,4 +105,7 @@ def init_handler(resource, event, trigger, payload=None):
|
|||||||
def unregister():
|
def unregister():
|
||||||
"""Cleanup fanout queues"""
|
"""Cleanup fanout queues"""
|
||||||
global TRUNK_SKELETON
|
global TRUNK_SKELETON
|
||||||
TRUNK_SKELETON.unregister()
|
try:
|
||||||
|
TRUNK_SKELETON.unregister()
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user