summaryrefslogtreecommitdiffstats
path: root/.pylintrc
diff options
context:
space:
mode:
authorbendikro <bro.devel+deluge@gmail.com>2016-01-17 17:13:45 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2016-10-30 13:45:02 +0100
commit1e183a32587d04e5e4abb2857f93d9f0a67b5450 (patch)
treeb1d9cabbb0f1a6d61dd91572613ff6df19776afd /.pylintrc
parent[Common] Add overrides function decorator (diff)
downloaddeluge-1e183a32587d04e5e4abb2857f93d9f0a67b5450.tar.xz
deluge-1e183a32587d04e5e4abb2857f93d9f0a67b5450.zip
[UI] Add gettext.ngettext to __builtin__.__dict__
Handle plurality with getttext using ngettext. Added to __builtin__.__dict__ as _n
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index 05cb9439b..68f20c42e 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -254,7 +254,7 @@ dummy-variables-rgx=_$|dummy
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
-additional-builtins=_,__request__
+additional-builtins=_,_n,__request__
# List of strings which can identify a callback function by name. A callback
# name must start or end with one of those strings.