Re: [PATCH] Don't reimport gettext
- From: Kai Willadsen <kai willadsen gmail com>
- To: Vincent Legoll <vincent legoll gmail com>
- Cc: meld-list gnome org
- Subject: Re: [PATCH] Don't reimport gettext
- Date: Thu, 26 Feb 2009 22:35:54 +0100
2009/2/26 Vincent Legoll <vincent legoll gmail com>:
> Pylint reports duplicated imports of gettext,
> use the previously imported one to set "_"
This looks slightly strange to me. There's only one usage of _() in
that file, so why not just use the full gettext.gettext() form for
that case and drop the _() alias from this file altogether?
Kai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]