Making salt.returners.postgres python3 compatible