[PATCH] zeroconf: use util.Abort() instead of deprecated string exceptions
Alexander Solovyov
piranha at piranha.org.ua
Fri Jun 11 11:36:16 UTC 2010
On Fri, Jun 11, 2010 at 14:22, Javi Merino <cibervicho at gmail.com> wrote:
> - raise "Bad domain name (circular) at " + str(off)
> + raise util.Abort(_("Bad domain name (circular) at " + str(off)))
I think that it would be better to use ("Bad domain name (circular) at
%s" % off) here.
--
Alexander
More information about the Mercurial-devel
mailing list