Commit 64d3bd52 authored by Guido Trotter's avatar Guido Trotter
Browse files

GetAllInstancesInfo, change internal iterator name

GetAllInstancesInfo used "node" as an iterator name. Change it to
instance to make it less confusing.

Reviewed-by: iustinp
parent 746ea1da
......@@ -478,8 +478,8 @@ class ConfigWriter:
would GetInstanceInfo return for the node
"""
my_dict = dict([(node, self._UnlockedGetInstanceInfo(node))
for node in self._UnlockedGetInstanceList()])
my_dict = dict([(instance, self._UnlockedGetInstanceInfo(instance))
for instance in self._UnlockedGetInstanceList()])
return my_dict
@locking.ssynchronized(_config_lock)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment