Import the _ of i18n
Bug #1652906 reported by
zhangjialong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mogan |
Fix Committed
|
Low
|
zhangjialong |
Bug Description
In [1] and [2],we using _ to log the error message. While, we do not import it in those files.
We should add it.
[1]https:/
[2]https:/
Changed in nimble: | |
assignee: | nobody → zhangjialong (zhangjl) |
Changed in nimble: | |
status: | New → Fix Committed |
Changed in mogan: | |
importance: | Undecided → Low |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/415406 /git.openstack. org/cgit/ openstack/ nimble/ commit/ ?id=2a44ad88ccc 5ede3b8eaedae27 a576ace9bb7e1d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2a44ad88ccc5ede 3b8eaedae27a576 ace9bb7e1d
Author: zhangjl <email address hidden>
Date: Wed Dec 28 08:36:35 2016 +0000
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 /github. com/openstack/ nimble/ blob/master/ nimble/ engine/ flows/create_ instance. py#L317
[2]https:/
Close-Bug: #1652906 b6a285005166375 615ebe27292
Change-Id: I53f524c9a2bc3f