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:
parent
79504a3d7a
commit
1b8c19bf88
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue