From: Eric Harney Date: Mon, 14 Sep 2015 17:12:15 +0000 (-0400) Subject: Storwize: Fix format string X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=65e7a4e96df6b39038b3245ef24f87e2675a67f6;p=openstack-build%2Fcinder-build.git Storwize: Fix format string String accidentally used %{count}s instead of %(count)s. Change-Id: Ibe54927f4847f947f3a3053150ee3593e04595ee --- diff --git a/cinder/volume/drivers/ibm/storwize_svc/helpers.py b/cinder/volume/drivers/ibm/storwize_svc/helpers.py index b0b53ddf2..79326ccfe 100644 --- a/cinder/volume/drivers/ibm/storwize_svc/helpers.py +++ b/cinder/volume/drivers/ibm/storwize_svc/helpers.py @@ -1065,7 +1065,7 @@ class StorwizeHelpers(object): if len(vdisks) != 1: msg = (_('Expected single vdisk returned from lsvdisk when ' - 'filtering on vdisk_UID. %{count}s were returned.') % + 'filtering on vdisk_UID. %(count)s were returned.') % {'count': len(vdisks)}) LOG.error(msg) raise exception.VolumeBackendAPIException(data=msg)