From 64d3bd527390e9b67e512213c33e7cb1c9779bd2 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Thu, 11 Sep 2008 17:45:55 +0000 Subject: [PATCH] GetAllInstancesInfo, change internal iterator name GetAllInstancesInfo used "node" as an iterator name. Change it to instance to make it less confusing. Reviewed-by: iustinp --- lib/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.py b/lib/config.py index f939ecff9..efd24d4fe 100644 --- a/lib/config.py +++ b/lib/config.py @@ -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) -- GitLab