diff --git a/heat/__init__.py b/heat/__init__.py index e69de29bb..57e2d0f65 100644 --- a/heat/__init__.py +++ b/heat/__init__.py @@ -0,0 +1,21 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2013 IBM Corp. +# 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 heat.openstack.common import gettextutils + + +gettextutils.install('heat') diff --git a/heat/common/config.py b/heat/common/config.py index 87533868c..8feeacb30 100644 --- a/heat/common/config.py +++ b/heat/common/config.py @@ -26,7 +26,6 @@ from oslo.config import cfg from heat.common import wsgi -from heat.openstack.common.gettextutils import _ from heat.openstack.common import log as logging from heat.openstack.common import rpc diff --git a/heat/common/exception.py b/heat/common/exception.py index f0006d542..3492c3ac1 100644 --- a/heat/common/exception.py +++ b/heat/common/exception.py @@ -21,7 +21,6 @@ import functools import urlparse import sys from heat.openstack.common import exception -from heat.openstack.common.gettextutils import _ OpenstackException = exception.OpenstackException diff --git a/heat/common/wsgi.py b/heat/common/wsgi.py index 717455f98..b2e142e57 100644 --- a/heat/common/wsgi.py +++ b/heat/common/wsgi.py @@ -45,7 +45,6 @@ import webob.exc from heat.common import exception from heat.openstack.common import gettextutils -from heat.openstack.common.gettextutils import _ from heat.openstack.common import importutils