replace salt._compat.xrange with six.moves.range