diff --git a/novaclient/api_versions.py b/novaclient/api_versions.py index 803f61558..5f7198c0d 100644 --- a/novaclient/api_versions.py +++ b/novaclient/api_versions.py @@ -232,7 +232,7 @@ def get_api_version(version_string): if version_string in DEPRECATED_VERSIONS: LOG.warning( _LW("Version %(deprecated_version)s is deprecated, using " - "alternative version %(alternative)s instead.") % + "alternative version %(alternative)s instead."), {"deprecated_version": version_string, "alternative": DEPRECATED_VERSIONS[version_string]}) version_string = DEPRECATED_VERSIONS[version_string]