
This commit removes the use of str() from LOG.* messages and exceptions. The reason we need to remove str() is because str() will fail if it gets a Unicode string that has something that doesn't translate to ASCII in it. If such a situation is encountered you will lose the message string in question. In most cases, the use of str() is unnecessary for LOG.* and exception messages. Using %s is smart enough to figure out what to do with what it is passed. It first tries to str() it, if this fails it falls back to using unicode. Either way, the result will then be something that gettextutils can handle and translate. Change-Id: I6eb81043edd9fa5e035d81ee81e8439340546d24 Closes-bug: 1274245 Related-bp: i18n-messages
The Choose Your Own Adventure README for Cinder
You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.
To monitor it from a distance: follow @openstack on twitter.
To tame it for use in your own cloud: read http://docs.openstack.org
To study its anatomy: read http://cinder.openstack.org
To dissect it in detail: visit http://github.com/openstack/cinder
To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder
To watch it: http://jenkins.openstack.org
To hack at it: read HACKING.rst
Description
Languages
Python
99.7%
Smarty
0.3%