adamwill / freeipa

Forked from freeipa 5 years ago
Clone

843a59a Fix pylint warnings inconsistent-return-statements

Authored and Committed by cheimes 6 years ago
    Fix pylint warnings inconsistent-return-statements
    
    Add consistent return to all functions and methods that are covered by
    tox -e pylint[23]. I haven't checked if return None is always a good
    idea or if we should rather raise an error.
    
    See: https://pagure.io/freeipa/issue/7326
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+4 -0
file modified
+6 -10
file modified
+10 -4
file modified
+6 -4
file modified
+3 -1
file modified
+33 -2
file modified
+2 -0
file modified
+12 -1
file modified
+1 -1
file modified
+2 -0
file modified
+4 -1
file modified
+1 -0
file modified
+1 -1