Merge "Do not fall back to namespaced oslo.i18n"
This commit is contained in:
@@ -12,10 +12,7 @@
|
|||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
try:
|
import oslo_i18n as i18n
|
||||||
import oslo_i18n as i18n
|
|
||||||
except ImportError:
|
|
||||||
from oslo import i18n
|
|
||||||
|
|
||||||
|
|
||||||
_translators = i18n.TranslatorFactory(domain='glanceclient')
|
_translators = i18n.TranslatorFactory(domain='glanceclient')
|
||||||
|
|||||||
Reference in New Issue
Block a user