mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Disable some Pylint errors
This commit is contained in:
parent
8319680fff
commit
761ba6c68c
@ -55,7 +55,7 @@ XMPP settings may also be configured as::
|
||||
from __future__ import absolute_import
|
||||
|
||||
# Import python libs
|
||||
import distutils.version
|
||||
import distutils.version # pylint: disable=import-error,no-name-in-module
|
||||
import logging
|
||||
import pprint
|
||||
|
||||
@ -63,7 +63,7 @@ import salt.returners
|
||||
|
||||
HAS_LIBS = False
|
||||
try:
|
||||
from sleekxmpp import ClientXMPP as _ClientXMPP
|
||||
from sleekxmpp import ClientXMPP as _ClientXMPP # pylint: disable=import-error
|
||||
HAS_LIBS = True
|
||||
except ImportError:
|
||||
class _ClientXMPP(object):
|
||||
|
Loading…
Reference in New Issue
Block a user