mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Disable pylint warning for unused imports
This commit is contained in:
parent
808bbc5a31
commit
ab61a37324
@ -26,7 +26,7 @@ from salt.ext.six.moves.urllib.parse import urlparse as _urlparse # pylint: dis
|
||||
HAS_LIBS = False
|
||||
|
||||
try:
|
||||
import gnupg
|
||||
import gnupg # pylint: disable=unused-import
|
||||
import salt.modules.gpg
|
||||
HAS_LIBS = True
|
||||
except ImportError:
|
||||
|
@ -30,7 +30,7 @@ from salt.ext.six.moves.urllib.parse import urlparse as _urlparse # pylint: dis
|
||||
HAS_LIBS = False
|
||||
|
||||
try:
|
||||
import gnupg
|
||||
import gnupg # pylint: disable=unused-import
|
||||
import salt.modules.gpg
|
||||
HAS_LIBS = True
|
||||
except ImportError:
|
||||
|
Loading…
Reference in New Issue
Block a user