diff --git a/lib/config.py b/lib/config.py index 7ca7c5593ee2eb50bbf016e165adfe8647d0045f..b39441917bf14dce90b471d106a3f1271b2b2f6e 100644 --- a/lib/config.py +++ b/lib/config.py @@ -1488,9 +1488,16 @@ class ConfigWriter: would GetNodeInfo return for the node """ - my_dict = dict([(node, self._UnlockedGetNodeInfo(node)) - for node in self._UnlockedGetNodeList()]) - return my_dict + return self._UnlockedGetAllNodesInfo() + + def _UnlockedGetAllNodesInfo(self): + """Gets configuration of all nodes. + + @note: See L{GetAllNodesInfo} + + """ + return dict([(node, self._UnlockedGetNodeInfo(node)) + for node in self._UnlockedGetNodeList()]) @locking.ssynchronized(_config_lock, shared=1) def GetNodeGroupsFromNodes(self, nodes):