sys.path.insert(0, possible_topdir)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder', lazy=False)
# Need to register global_opts
from cinder.common import config # noqa
sys.path.insert(0, possible_topdir)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder', lazy=False)
# Need to register global_opts
from cinder.common import config # noqa
sys.path.insert(0, possible_topdir)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder')
# Need to register global_opts
from cinder.common import config # noqa
sys.path.insert(0, POSSIBLE_TOPDIR)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder')
# Need to register global_opts
from cinder.common import config # noqa
sys.path.insert(0, POSSIBLE_TOPDIR)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder')
# Need to register global_opts
from cinder.common import config # noqa
# See the License for the specific language governing permissions and
# limitations under the License.
+import gettext
import re
import sys
import rtslib
-from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder-rtstool', lazy=True)
+gettext.install('cinder-rtstool', unicode=1)
class RtstoolError(Exception):
sys.path.insert(0, possible_topdir)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder')
# Need to register global_opts
from cinder.common import config # noqa
sys.path.insert(0, possible_topdir)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder')
# Need to register global_opts
from cinder.common import config # noqa
sys.path.insert(0, POSSIBLE_TOPDIR)
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder')
from cinder import context
from cinder import db
from cinder import db
from cinder.db.sqlalchemy import api as sqlalchemy_api
from cinder import exception
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import strutils
from cinder import quota
from cinder.api.openstack import wsgi
from cinder.api.views import limits as limits_views
from cinder.api import xmlutil
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import importutils
from cinder.openstack.common import jsonutils
from cinder import quota
"""Exceptions for the Brick library."""
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from cinder.brick.initiator import linuxfc
from cinder.brick.initiator import linuxscsi
from cinder.brick.remotefs import remotefs
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import lockutils
from cinder.openstack.common import log as logging
from cinder.openstack.common import loopingcall
import errno
from cinder.brick.initiator import linuxscsi
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from cinder.openstack.common import processutils as putils
import os
from cinder.brick import executor
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from cinder.openstack.common import processutils as putils
from cinder.brick import exception
from cinder.brick import executor
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from cinder.openstack.common import processutils as putils
import six
from cinder.brick import exception
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from cinder.openstack.common import processutils as putils
from oslo.config import cfg
+from cinder.openstack.common.gettextutils import _
+
CONF = cfg.CONF
from oslo.config import cfg
from cinder.openstack.common import gettextutils
-gettextutils.enable_lazy()
-gettextutils.install('cinder', lazy=True)
+gettextutils.install('cinder', lazy=False)
from cinder.db.sqlalchemy import migrate_repo
from cinder import version
from oslo.config import cfg
import webob.exc
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from cinder import exception
from cinder.keymgr import key
from cinder.keymgr import key_mgr
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import log as logging
from oslo.config import cfg
from cinder import exception
+from cinder.openstack.common.gettextutils import _
from cinder.openstack.common import policy
from cinder import utils