31fa527 Fix E721 do not compare types, use 'isinstance()'

Authored and Committed by cheimes 3 years ago
    Fix E721 do not compare types, use 'isinstance()'
    
    Related: https://pagure.io/freeipa/issue/8306
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>