54793f Ensure that we are calling the proper ci_hook object

Authored and Committed by Pierre-Yves Chibon 8 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