Disable pylint warning for unused imports

This commit is contained in:
David Murphy 2016-05-05 10:00:47 -06:00
parent 808bbc5a31
commit ab61a37324
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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: