diff options
| author | daisy-ycguo <guoyingc@cn.ibm.com> | 2012-11-19 14:07:16 +0800 |
|---|---|---|
| committer | daisy-ycguo <daisy.ycguo@gmail.com> | 2012-11-21 23:37:53 +0800 |
| commit | 296403319182a62c737363872f9e57d56bc2669d (patch) | |
| tree | 149a96d5cedfaae7c7b83c70c1af4a44e3523a83 /nova/openstack | |
| parent | d23f6dc1c639fcff7bb38bce02e47e57947bdb8c (diff) | |
| download | nova-296403319182a62c737363872f9e57d56bc2669d.tar.gz nova-296403319182a62c737363872f9e57d56bc2669d.tar.xz nova-296403319182a62c737363872f9e57d56bc2669d.zip | |
Wrap log messages with _()
bug 1075082
There are a few log messages without _(), but a lot messages with _().
Wrap these log messages with _() in order to make the code consistent.
Change-Id: Ibaff2c352df925f7e00d5a62d111ef73f60c944b
Diffstat (limited to 'nova/openstack')
| -rw-r--r-- | nova/openstack/common/rpc/amqp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/openstack/common/rpc/amqp.py b/nova/openstack/common/rpc/amqp.py index a88408437..3324e3758 100644 --- a/nova/openstack/common/rpc/amqp.py +++ b/nova/openstack/common/rpc/amqp.py @@ -283,7 +283,7 @@ class ProxyCallback(object): # This final None tells multicall that it is done. ctxt.reply(ending=True, connection_pool=self.connection_pool) except Exception as e: - LOG.exception('Exception during message handling') + LOG.exception(_('Exception during message handling')) ctxt.reply(None, sys.exc_info(), connection_pool=self.connection_pool) |
