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 <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-10-01 16:07:22 -04:00 committed by Slawek Kaplonski
parent 00de8f9a9e
commit cf463cce43

@ -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')