Use MultipleExceptions from neutorn-lib
[1] [2] are merged recently, which brings the deprecation warning. This patch eliminates the warning. [1]8398ec0d77
[2]9f09f27c5d
Change-Id: I94b6cbb314cf73becd1754e26b480bc8e8f3d49c Related-bug: #1273730
This commit is contained in:
parent
89cf28e3dc
commit
3e9c943f53
|
@ -18,10 +18,9 @@
|
|||
from neutron_lib import exceptions
|
||||
|
||||
from neutron._i18n import _
|
||||
from neutron.common import exceptions as n_exc
|
||||
|
||||
|
||||
class MechanismDriverError(n_exc.MultipleExceptions):
|
||||
class MechanismDriverError(exceptions.MultipleExceptions):
|
||||
"""Mechanism driver call failed."""
|
||||
|
||||
def __init__(self, method, errors=None):
|
||||
|
|
Loading…
Reference in New Issue