28fb5cc Fix comparison-with-callable

Authored and Committed by cheimes 5 years ago
    Fix comparison-with-callable
    
    Pylint warns about comparing callable. Replace equality with identity
    test.
    
    See: https://pagure.io/freeipa/issue/7758
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>