mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
setup.py: Disable pylint rule import-error.
When running pylint against 'setup.py' it warns that an import is not used. While it is not directly used, this is a fix for an issue with older versions of Python, so this change tells pylint to ignore the error.
This commit is contained in:
2
setup.py
2
setup.py
@@ -4,7 +4,7 @@ import setuptools
|
|||||||
# setuptools if some other modules registered functions in `atexit`.
|
# setuptools if some other modules registered functions in `atexit`.
|
||||||
# solution from: http://bugs.python.org/issue15881#msg170215
|
# solution from: http://bugs.python.org/issue15881#msg170215
|
||||||
try:
|
try:
|
||||||
import multiprocessing # noqa
|
import multiprocessing # noqa # pylint:disable=unused-import
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user