]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Explicitly import _() in Cinder code
authorJay S. Bryant <jsbryant@us.ibm.com>
Thu, 26 Jun 2014 21:22:17 +0000 (16:22 -0500)
committerJay S. Bryant <jsbryant@us.ibm.com>
Thu, 17 Jul 2014 04:41:05 +0000 (23:41 -0500)
commiteafcc41e82ced6d72d1cfe0105e44c383f28a23a
treede26da33d5cff4004f78227908bafc3a1aeb957f
parent343827ad18503db78f436914003b4f755401695c
Explicitly import _() in Cinder code

To ensure that logs are properly translated and logged to
the Cinder log files (using the Cinder message catalogs)
we need to explicitly import _() in any python files that
use the _() function.

Closes-bug: 1306275
Related-Blueprint: i18n-enablement
Change-Id: I3cf1f1d63d5f8bd8ffd007104691f914e3fd8538
161 files changed:
cinder/api/auth.py
cinder/api/common.py
cinder/api/contrib/admin_actions.py
cinder/api/contrib/backups.py
cinder/api/contrib/extended_snapshot_attributes.py
cinder/api/contrib/hosts.py
cinder/api/contrib/qos_specs_manage.py
cinder/api/contrib/quota_classes.py
cinder/api/contrib/scheduler_hints.py
cinder/api/contrib/services.py
cinder/api/contrib/snapshot_actions.py
cinder/api/contrib/types_extra_specs.py
cinder/api/contrib/types_manage.py
cinder/api/contrib/volume_actions.py
cinder/api/contrib/volume_manage.py
cinder/api/contrib/volume_transfer.py
cinder/api/contrib/volume_type_encryption.py
cinder/api/contrib/volume_unmanage.py
cinder/api/extensions.py
cinder/api/middleware/fault.py
cinder/api/middleware/sizelimit.py
cinder/api/openstack/__init__.py
cinder/api/openstack/urlmap.py
cinder/api/openstack/volume/__init__.py
cinder/api/openstack/volume/versions.py
cinder/api/openstack/wsgi.py
cinder/api/sizelimit.py
cinder/api/v1/snapshot_metadata.py
cinder/api/v1/snapshots.py
cinder/api/v1/volume_metadata.py
cinder/api/v1/volumes.py
cinder/api/v2/limits.py
cinder/api/v2/snapshot_metadata.py
cinder/api/v2/snapshots.py
cinder/api/v2/types.py
cinder/api/v2/volume_metadata.py
cinder/api/v2/volumes.py
cinder/api/xmlutil.py
cinder/backup/api.py
cinder/backup/driver.py
cinder/backup/drivers/ceph.py
cinder/backup/drivers/swift.py
cinder/backup/drivers/tsm.py
cinder/backup/manager.py
cinder/brick/iscsi/iscsi.py
cinder/common/sqlalchemyutils.py
cinder/context.py
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migrate_repo/versions/001_cinder_init.py
cinder/db/sqlalchemy/migrate_repo/versions/002_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/003_glance_metadata.py
cinder/db/sqlalchemy/migrate_repo/versions/008_add_backup.py
cinder/db/sqlalchemy/migrate_repo/versions/009_add_snapshot_metadata_table.py
cinder/db/sqlalchemy/migrate_repo/versions/010_add_transfers_table.py
cinder/db/sqlalchemy/migrate_repo/versions/015_drop_migrations_table.py
cinder/db/sqlalchemy/migrate_repo/versions/016_drop_sm_tables.py
cinder/db/sqlalchemy/migrate_repo/versions/017_add_encryption_information.py
cinder/db/sqlalchemy/migrate_repo/versions/018_add_qos_specs.py
cinder/db/sqlalchemy/migrate_repo/versions/020_add_volume_admin_metadata_table.py
cinder/db/sqlalchemy/migration.py
cinder/flow_utils.py
cinder/image/glance.py
cinder/image/image_utils.py
cinder/quota.py
cinder/quota_utils.py
cinder/scheduler/driver.py
cinder/scheduler/filter_scheduler.py
cinder/scheduler/filters/capacity_filter.py
cinder/scheduler/flows/create_volume.py
cinder/scheduler/host_manager.py
cinder/scheduler/manager.py
cinder/scheduler/scheduler_options.py
cinder/service.py
cinder/tests/api/contrib/test_backups.py
cinder/tests/brick/test_brick_connector.py
cinder/tests/brick/test_brick_remotefs.py
cinder/tests/fake_driver.py
cinder/tests/integrated/api/client.py
cinder/tests/test_backup_ceph.py
cinder/tests/test_glusterfs.py
cinder/tests/test_ibm_xiv_ds8k.py
cinder/tests/test_misc.py
cinder/tests/test_netapp.py
cinder/tests/test_netapp_nfs.py
cinder/tests/test_rbd.py
cinder/tests/test_storwize_svc.py
cinder/tests/test_volume_types.py
cinder/tests/zonemanager/test_brcd_fc_zone_driver.py
cinder/transfer/api.py
cinder/utils.py
cinder/volume/api.py
cinder/volume/drivers/block_device.py
cinder/volume/drivers/coraid.py
cinder/volume/drivers/emc/emc_cli_iscsi.py
cinder/volume/drivers/emc/emc_smis_common.py
cinder/volume/drivers/emc/emc_smis_iscsi.py
cinder/volume/drivers/emc/emc_vnx_cli.py
cinder/volume/drivers/eqlx.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/hds/hds.py
cinder/volume/drivers/hds/iscsi.py
cinder/volume/drivers/hds/nfs.py
cinder/volume/drivers/huawei/__init__.py
cinder/volume/drivers/huawei/huawei_t.py
cinder/volume/drivers/huawei/huawei_utils.py
cinder/volume/drivers/huawei/rest_common.py
cinder/volume/drivers/huawei/ssh_common.py
cinder/volume/drivers/ibm/gpfs.py
cinder/volume/drivers/ibm/ibmnas.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
cinder/volume/drivers/ibm/storwize_svc/ssh.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/netapp/api.py
cinder/volume/drivers/netapp/common.py
cinder/volume/drivers/netapp/eseries/client.py
cinder/volume/drivers/netapp/eseries/iscsi.py
cinder/volume/drivers/netapp/iscsi.py
cinder/volume/drivers/netapp/nfs.py
cinder/volume/drivers/netapp/ssc_utils.py
cinder/volume/drivers/netapp/utils.py
cinder/volume/drivers/nexenta/iscsi.py
cinder/volume/drivers/nexenta/jsonrpc.py
cinder/volume/drivers/nexenta/nfs.py
cinder/volume/drivers/nexenta/utils.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/san/hp/hp_3par_common.py
cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py
cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py
cinder/volume/drivers/san/hp/hp_lefthand_rest_proxy.py
cinder/volume/drivers/san/hp/hp_msa_common.py
cinder/volume/drivers/san/san.py
cinder/volume/drivers/san/solaris.py
cinder/volume/drivers/scality.py
cinder/volume/drivers/sheepdog.py
cinder/volume/drivers/solidfire.py
cinder/volume/drivers/vmware/api.py
cinder/volume/drivers/vmware/error_util.py
cinder/volume/drivers/vmware/io_util.py
cinder/volume/drivers/vmware/read_write_util.py
cinder/volume/drivers/vmware/vim.py
cinder/volume/drivers/vmware/vmdk.py
cinder/volume/drivers/vmware/vmware_images.py
cinder/volume/drivers/vmware/volumeops.py
cinder/volume/drivers/windows/windows_utils.py
cinder/volume/drivers/zadara.py
cinder/volume/flows/api/create_volume.py
cinder/volume/flows/common.py
cinder/volume/flows/manager/create_volume.py
cinder/volume/flows/manager/manage_existing.py
cinder/volume/manager.py
cinder/volume/qos_specs.py
cinder/volume/utils.py
cinder/volume/volume_types.py
cinder/wsgi.py
cinder/zonemanager/drivers/brocade/brcd_fc_san_lookup_service.py
cinder/zonemanager/drivers/brocade/brcd_fc_zone_client_cli.py
cinder/zonemanager/drivers/brocade/brcd_fc_zone_driver.py
cinder/zonemanager/fc_san_lookup_service.py
cinder/zonemanager/fc_zone_manager.py