Fix translations usage of _
_ wasn't being imported here, but was being used at [1] and [2]. Import _ from nimble.common.i18n to fix this. [1]https://github.com/openstack/nimble/blob/master/nimble/engine/manager.py#L109 [2]https://github.com/openstack/nimble/blob/master/nimble/engine/flows/create_instance.py#L317 Close-Bug: #1652906 Change-Id: I53f524c9a2bc3fb6a285005166375615ebe27292
This commit is contained in:
parent
17ff537060
commit
2a44ad88cc
@ -24,6 +24,7 @@ from taskflow.patterns import linear_flow
|
|||||||
|
|
||||||
from nimble.common import exception
|
from nimble.common import exception
|
||||||
from nimble.common import flow_utils
|
from nimble.common import flow_utils
|
||||||
|
from nimble.common.i18n import _
|
||||||
from nimble.common.i18n import _LE
|
from nimble.common.i18n import _LE
|
||||||
from nimble.common.i18n import _LI
|
from nimble.common.i18n import _LI
|
||||||
from nimble.common import utils
|
from nimble.common import utils
|
||||||
|
@ -22,6 +22,7 @@ from oslo_service import periodic_task
|
|||||||
|
|
||||||
from nimble.common import exception
|
from nimble.common import exception
|
||||||
from nimble.common import flow_utils
|
from nimble.common import flow_utils
|
||||||
|
from nimble.common.i18n import _
|
||||||
from nimble.common.i18n import _LE
|
from nimble.common.i18n import _LE
|
||||||
from nimble.common.i18n import _LI
|
from nimble.common.i18n import _LI
|
||||||
from nimble.conf import CONF
|
from nimble.conf import CONF
|
||||||
|
Loading…
Reference in New Issue
Block a user