diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-11-29 23:06:13 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-11-29 23:06:13 +0000 |
| commit | 1fd7694e96da4c7e461d3c966fab1e81ee57c315 (patch) | |
| tree | f19487d48afc96acd72dc7bb95bb951e0fc229a2 /openstack/common/rpc | |
| parent | cd176d1147b19547fe4deb3299216aeaa1ca535b (diff) | |
| parent | 6d102bcf0cbacb1d37eec20c4d318e14724a056d (diff) | |
| download | oslo-1fd7694e96da4c7e461d3c966fab1e81ee57c315.tar.gz oslo-1fd7694e96da4c7e461d3c966fab1e81ee57c315.tar.xz oslo-1fd7694e96da4c7e461d3c966fab1e81ee57c315.zip | |
Merge "Provide i18n to those messages without _()"
Diffstat (limited to 'openstack/common/rpc')
| -rw-r--r-- | openstack/common/rpc/amqp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack/common/rpc/amqp.py b/openstack/common/rpc/amqp.py index 2ea506a..b247106 100644 --- a/openstack/common/rpc/amqp.py +++ b/openstack/common/rpc/amqp.py @@ -55,7 +55,7 @@ class Pool(pools.Pool): # TODO(comstud): Timeout connections not used in a while def create(self): - LOG.debug('Pool creating new connection') + LOG.debug(_('Pool creating new connection')) return self.connection_cls(self.conf) def empty(self): @@ -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: - LOG.exception('Exception during message handling') + LOG.exception(_('Exception during message handling')) ctxt.reply(None, sys.exc_info(), connection_pool=self.connection_pool) |
