Code question (warning, python newbie behind)...
Benoit Boissinot
bboissin at gmail.com
Sat Jul 15 15:03:40 UTC 2006
On 7/15/06, Mathieu Clabaut <mathieu.clabaut at gmail.com> wrote:
> Hello,
>
> In commands.dispath (around line 3325 in last crew repository) I read :
>
> except Exception, inst:
> u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst))
>
> I do not understand x[0]... Is it a pythonism, or an error due to a
> longstanding copy/past ? I would have write ext_name instead ?
>
You're right, i forget it in b13a98bd078e
thanks,
Benoit
More information about the Mercurial
mailing list