Merge "add missing gettextutils imports"

This commit is contained in:
Jenkins 2013-07-02 16:08:44 +00:00 committed by Gerrit Code Review
commit d4fe600c12
15 changed files with 22 additions and 1 deletions

View File

@ -22,6 +22,7 @@ return
import re
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
from heat.common import wsgi

View File

@ -30,6 +30,7 @@ from heat.common import urlfetch
import heat.openstack.common.rpc.common as rpc_common
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)

View File

@ -18,6 +18,8 @@ from functools import wraps
from heat.common import identifier
from heat.openstack.common.gettextutils import _
def tenant_local(handler):
'''

View File

@ -34,6 +34,8 @@ import urlparse
from heat.common import exception
from heat.openstack.common.gettextutils import _
class BaseStrategy(object):
def __init__(self):
@ -117,7 +119,7 @@ class KeystoneStrategy(BaseStrategy):
self.check_auth_params()
auth_url = self.creds['auth_url']
for _ in range(self.MAX_REDIRECTS):
for x in range(self.MAX_REDIRECTS):
try:
_authenticate(auth_url)
except exception.AuthorizationRedirect as e:

View File

@ -35,6 +35,8 @@ from heat.common import auth
from heat.common import exception
from heat.common import utils
from heat.openstack.common.gettextutils import _
# common chunk size for get and put
CHUNKSIZE = 65536

View File

@ -27,6 +27,7 @@ import sys
import types
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)

View File

@ -24,8 +24,10 @@ import os.path
from oslo.config import cfg
from heat.common import exception
import heat.openstack.common.log as logging
from heat.openstack.common import policy
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)

View File

@ -21,6 +21,7 @@ import urllib2
import urlparse
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)

View File

@ -44,6 +44,7 @@ import webob.exc
from heat.common import exception
from heat.openstack.common import importutils
from heat.openstack.common.gettextutils import _
URL_LENGTH_LIMIT = 50000

View File

@ -24,6 +24,7 @@ import migrate
from migrate.versioning import util as migrate_util
from heat.openstack.common import exception
from heat.openstack.common.gettextutils import _
_REPOSITORY = None

View File

@ -18,6 +18,8 @@ import itertools
from heat.common import exception
from heat.openstack.common.gettextutils import _
class CircularDependencyException(exception.OpenstackException):
message = _("Circular Dependency Found: %(cycle)s")

View File

@ -32,6 +32,8 @@ from heat.engine.clients import Clients
from heat.db import api as db_api
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
from heat.common.exception import ServerError
from heat.common.exception import StackValidationFailed

View File

@ -28,6 +28,7 @@ from heat.engine.attributes import Attributes
from heat.engine.properties import Properties
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)

View File

@ -13,6 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)

View File

@ -22,6 +22,7 @@ from time import time as wallclock
from heat.openstack.common import excutils
from heat.openstack.common import log as logging
from heat.openstack.common.gettextutils import _
logger = logging.getLogger(__name__)