d93ebfc `get_current_event`: return None if there is no current event

Authored and Committed by adamwill 4 years ago
    `get_current_event`: return None if there is no current event
    
    This is rare, but possible (when we add support for a new compose
    type, like we are at present: until we create one, there is no
    'current' IoT event).
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+7 -0