1472597 LGTM: raise handle_not_found()

Authored and Committed by cheimes 6 years ago
    LGTM: raise handle_not_found()
    
    Turn calls "handle_not_found()" into "raise handle_not_found()" to
    indicate control flow chance. It makes the code easier to understand,
    the control flow more obvious and helps static analyzers.
    
    It's OK to raise here because handle_not_found() always raises an
    exception.
    
    https://pagure.io/freeipa/issue/7344
    
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
    
        
file modified
+1 -1
file modified
+22 -13
file modified
+8 -8
file modified
+2 -2
file modified
+1 -1
file modified
+23 -21
file modified
+17 -7
file modified
+28 -18
file modified
+5 -5
file modified
+2 -2
file modified
+4 -4
file modified
+2 -2
file modified
+1 -1
file modified
+16 -15
file modified
+8 -8
file modified
+4 -4