322d089 pylint: Fix consider-using-dict-items

20 files Authored by slev 2 years ago, Committed by rcritten 2 years ago,
    pylint: Fix consider-using-dict-items
    
    Pylint 2.9 introduced new check:
    > New checker consider-using-dict-items. Emitted when iterating over
    dictionary keys and then indexing the same dictionary with the key
    within loop body.
    
    Fixes: https://pagure.io/freeipa/issue/9117
    Signed-off-by: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+2 -2
file modified
+5 -5
file modified
+2 -2
file modified
+6 -6
file modified
+2 -2
file modified
+4 -7