From cf463cce43eb6a937c9057fdf2a4d19de74fc15e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 1 Oct 2018 16:07:22 -0400 Subject: [PATCH] tell pylint to ignore python2 version of gettext pylint compares the function arguments for gettext to what it can see, and under python3 the signature does not match. This code is already correctly branching based on python version, so just tell the linter to ignore the line. Change-Id: I653fe8bc11804dc20206f6296d89c14568ee4bc1 Signed-off-by: Doug Hellmann --- neutron/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/__init__.py b/neutron/__init__.py index 20ad9ab20f4..6b44517b7c4 100644 --- a/neutron/__init__.py +++ b/neutron/__init__.py @@ -20,7 +20,7 @@ import six if six.PY2: - gettext.install('neutron', unicode=1) + gettext.install('neutron', unicode=1) # pylint: disable=unexpected-keyword-arg else: gettext.install('neutron')