tkopecek / koji

Forked from koji 7 years ago
Clone

4fb79b9 hub: return empty list in get_notification_recipients()

1 file Authored by ktdreyer 3 years ago, Committed by tkopecek 3 years ago,
    hub: return empty list in get_notification_recipients()
    
    If we find no recipients, return an empty list, rather than None.
    
    This fixes a crash in build_notifications() where we expect to call
    len() on the return value from get_notification_recipients().
    
    Fixes: https://pagure.io/koji/issue/2307
    
        
file modified
+1 -1