7d0fbbf Fix errors found by Pylint-2.4.3

19 files Authored by slev 6 months ago , Committed by rcritten 6 months ago ,
    Fix errors found by Pylint-2.4.3
    
    New Pylint (2.4.3) catches several new 'true problems'. At the same
    time, it warns about things that are massively and reasonably
    employed in FreeIPA.
    
    list of fixed:
    - no-else-continue
    - redeclared-assigned-name
    - no-else-break
    - unnecessary-comprehension
    - using-constant-test (false positive)
    
    list of ignored (responsibility of contributors and reviewers):
    - import-outside-toplevel
    
    Fixes: https://pagure.io/freeipa/issue/8102
    Signed-off-by: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
    
        
file modified
+0 -2
file modified
+0 -8
file modified
+3 -3
file modified
+2 -2
file modified
+1 -1
file modified
+2 -2
file modified
+1 -2
file modified
+1 -0