Suppress pylint warnings from dell_emc drivers

The dell_emc driver imports a library that doesn't ship
with OpenStack so suppress the pylint warnings about not being
able to import it.

Change-Id: I0ecb72d85f655a01567a22b9d45b1815e96e3245
This commit is contained in:
Tom Barron 2019-02-13 07:04:27 -05:00
parent 79504a3d7a
commit 1b8c19bf88
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ from oslo_utils import importutils
storops = importutils.try_import('storops')
if storops:
# pylint: disable=import-error
from storops import exception as storops_ex
from storops.unity import enums

View File

@ -23,6 +23,7 @@ from oslo_utils import netutils
storops = importutils.try_import('storops')
if storops:
# pylint: disable=import-error
from storops import exception as storops_ex
from storops.unity import enums