2fae28f pylint: fix inconsistent-return-statements

Authored and Committed by frenaud 3 years ago
    pylint: fix inconsistent-return-statements
    
    pylint 2.7.0 now emits inconsistent-return-statements if one of
    try/except statement is not returning explicitly while the other do.
    
    Fixes: https://pagure.io/freeipa/issue/8720
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+2 -0
file modified
+4 -0