diff options
author | Mike Durnosvistov <mdurnosvistov@mirantis.com> | 2014-11-20 09:42:32 +0200 |
---|---|---|
committer | Mike Durnosvistov <mdurnosvistov@mirantis.com> | 2014-12-04 13:43:38 +0200 |
commit | 76953c00c3bd6185a6b08ee7dcea524bada25f96 (patch) | |
tree | e1a83d96e772b1b16eda119ffd555b84d2beea64 /nova/hacking | |
parent | 1e8df2f00b2b93ee6c31627036df4befff760680 (diff) | |
download | nova-76953c00c3bd6185a6b08ee7dcea524bada25f96.tar.gz |
Replacement `_` on `_LW` in all LOG.warning part 4
oslo.i18n uses different marker functions to separate the
translatable messages into different catalogs, which the translation
teams can prioritize translating. For details, please refer to:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html#guidelines-for-use-in-openstack
There were not marker fuctions some places in directory network.
This commit makes changes:
* Add missing marker functions
* Use ',' instead of '%' while adding variables to log messages
Change-Id: I913077d3b0fdee78e423c35b3a48137a17946a7b
Diffstat (limited to 'nova/hacking')
-rw-r--r-- | nova/hacking/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/hacking/checks.py b/nova/hacking/checks.py index 0170112898..8c053371a4 100644 --- a/nova/hacking/checks.py +++ b/nova/hacking/checks.py @@ -309,7 +309,7 @@ def validate_log_translations(logical_line, physical_line, filename): "plugins/xenserver/xenapi/etc/xapi.d" in filename or # TODO(Mike_D):Needs to be remove with: # I075ab2a522272f2082c292dfedc877abd8ebe328 - "nova/virt" in filename): + "nova/virt/libvirt" in filename): return if pep8.noqa(physical_line): return |