Drop log translations

Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I9b383ef3fd9a6487b1ee7726d892d1a94e3d9370
This commit is contained in:
Adit Sarfaty
2017-03-27 08:03:53 +03:00
parent f8bf9d0443
commit 5a045e3db1
10 changed files with 50 additions and 63 deletions

View File

@@ -16,9 +16,6 @@
from oslo_log import log
from oslo_log import versionutils
from vmware_nsxlib._i18n import _LW
LOG = log.getLogger(__name__)
@@ -118,8 +115,8 @@ class NsxLibConfig(object):
# this is deprecated, and never used.
versionutils.report_deprecated_feature(
LOG,
_LW('dhcp_profile_uuid is not used by the nsxlib, and will '
'be removed from its configuration in the future.'))
'dhcp_profile_uuid is not used by the nsxlib, and will '
'be removed from its configuration in the future.')
def _attribute_by_index(self, scalar_or_list, index):
if isinstance(scalar_or_list, list):