]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Do not translate debug messages
authorThang Pham <thang.g.pham@gmail.com>
Thu, 7 Aug 2014 21:41:11 +0000 (17:41 -0400)
committerThang Pham <thang.g.pham@gmail.com>
Fri, 8 Aug 2014 02:30:18 +0000 (22:30 -0400)
commit1dfacd50b0305cb9e304aed45a3115f30d20c372
tree8ae69b6b8ee19ea3be7f51b7dcdea392397bff5f
parentd603105bb33a28fcf3ae1fd641616fc44e1a94d7
Do not translate debug messages

LOG.debug messages do not need to be translated. The rdb driver
has a couple of debug messages that are translated. This patch
removes those debug translations.

Also, logging exception.ImageUnacceptable can contain non-ascii
characters. This patch fixes this by using six.text_type to
properly translate the exception.

Change-Id: I4ed36173f42b7bf487463f148ae94bd061f6bebb
cinder/volume/drivers/rbd.py