Fix translations in driver base
_ wasn't being imported here, but was being used. pep8 fails locally for me on this, but it's unclear why it passes in the gate; maybe a different version of flake8 or something? Import _ from oslo.i18n to fix this. Change-Id: I2eb3e08f51d788bbe7d0237c182137b30034d431
This commit is contained in:
parent
930dee6242
commit
e3f25de31b
@ -31,7 +31,7 @@ from oslo_utils import excutils
|
||||
import six
|
||||
|
||||
from ironic.common import exception
|
||||
from ironic.common.i18n import _LE, _LW
|
||||
from ironic.common.i18n import _, _LE, _LW
|
||||
from ironic.common import raid
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user