8d7bd6c pylint: fix errors

Authored and Committed by frenaud 5 months ago
    pylint: fix errors
    
    Fix the following errors:
    I0021(useless-suppression)
    R1710(inconsistent-return-statements)
    E1101(no-member)
    
    Ignore the following errors:
    E0601(used-before-assignment)
    The variable is imported when the code is run in_server.
    
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+1 -1
file modified
+1 -1
file modified
+2 -0
file modified
+2 -0
file modified
+2 -0
file modified
+2 -0
file modified
+2 -0