summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/utils.py b/nova/utils.py
index f71a4d880..5f5225289 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -215,8 +215,8 @@ def get_my_linklocal(interface):
raise exception.Error(_("Link Local address is not found.:%s")
% if_str)
except Exception as ex:
- raise exception.Error(_("Couldn't get Link Local IP of %s :%s")
- % (interface, ex))
+ raise exception.Error(_("Couldn't get Link Local IP of %(interface)s"
+ " :%(ex)s") % locals())
def to_global_ipv6(prefix, mac):