From f002437d98224247a377e1ed429a0dd0cc077559 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 5 Nov 2018 12:05:40 -0500 Subject: [PATCH] Remove i18n.enable_lazy() call from glance.cmd Lazy translation of messages is not used in OpenStack. This causes problems for commands which use translatable messages. The lazy translation effort was abandoned several years ago. Change-Id: Iab3d772d7ad9958b54f095b45387a6eb463ce5e6 Related-Bug: #1801761 --- glance/cmd/__init__.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/glance/cmd/__init__.py b/glance/cmd/__init__.py index e1aeec3bd1..e69de29bb2 100644 --- a/glance/cmd/__init__.py +++ b/glance/cmd/__init__.py @@ -1,18 +0,0 @@ -# Copyright 2013 OpenStack Foundation -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# 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 glance import i18n - -i18n.enable_lazy()