python3 compatibility: use isinstance instead of type()
python3 compatibility: use isinstance instead of type()

sean-/patroni,sean-/patroni,zalando/patroni,pgexperts/patroni,jinty/patroni,zalando/patroni,pgexperts/patroni,jinty/patroni