]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
StorPool: clean up the last uses of str.format()
authorPeter Penchev <openstack-dev@storpool.com>
Fri, 12 Jun 2015 07:41:52 +0000 (10:41 +0300)
committerPeter Penchev <openstack-dev@storpool.com>
Mon, 13 Jul 2015 20:19:47 +0000 (23:19 +0300)
commitf3319d7c1e0b20b2f00cf3507e6c4d2e84983cec
tree6b1babdc3fadff454a3b20b5113195ec6e37aca5
parent409bc281838a1c1399940a92a72d1192c6cd480d
StorPool: clean up the last uses of str.format()

Replace three logging uses of str.format() with parameters passed
directly to LOG.error(), simplifying them in the process by
avoiding the need to call six.text_type() ourselves.

Replace the remaining use with string concatenation.

Suggested by: Sean McGinnis in review 188725
Change-Id: Ie53c394d7f31fa1dccfa4ed5c4b514539c77aa05
cinder/volume/drivers/storpool.py