cjm6497 / pagure

Forked from pagure 2 years ago
Clone

01d0f29 Reduce code duplication using _get_repo and _check_token

1 file Authored by pingou 5 years ago, Committed by pingou 5 years ago,
    Reduce code duplication using _get_repo and _check_token
    
    These two utility methods allow us to reduce code duplication and
    give us a single place where to retrieve projects and validate the API
    token retrieved.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+29 -112