Code Review
/
escalator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
74c631c
)
cmd can call oslo_i18n.enable_lazy directly.
83/29783/3
author
kong wei
<kong.wei2@zte.com.cn>
Sat, 4 Mar 2017 16:21:26 +0000
(16:21 +0000)
committer
kong wei
<kong.wei2@zte.com.cn>
Sat, 4 Mar 2017 17:51:48 +0000
(17:51 +0000)
Change-Id: I09949cd6a35fca1fff9568bf6608b29bb59ddb3d
Signed-off-by: Kong Wei<kong.wei2@zte.com.cn>
api/escalator/cmd/__init__.py
patch
|
blob
|
history
diff --git
a/api/escalator/cmd/__init__.py
b/api/escalator/cmd/__init__.py
index
871224d
..
2e1b10b
100644
(file)
--- a/
api/escalator/cmd/__init__.py
+++ b/
api/escalator/cmd/__init__.py
@@
-12,5
+12,6
@@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-from escalator import i18n
-i18n.enable_lazy()
+import oslo_i18n
+
+oslo_i18n.enable_lazy()