Making salt.tops.ext_nodes python3 compatible