smurfix / pagure

Forked from pagure 7 years ago
Clone

54793f5 Ensure that we are calling the proper ci_hook object

Authored and Committed by pingou 7 years ago
    Ensure that we are calling the proper ci_hook object
    
    By default SQLAlchemy gives us a list so we need to access the first
    element in it.
    
    We could use `uselist=False` in the backref, but we'll need to adjust
    all the plugins at one as otherwise we break pagure/ui/plugins.py.
    
        
file modified
+2 -2
file modified
+1 -1