Revision ee14d800 lib/config.py

b/lib/config.py
1488 1488
              would GetNodeInfo return for the node
1489 1489

  
1490 1490
    """
1491
    my_dict = dict([(node, self._UnlockedGetNodeInfo(node))
1492
                    for node in self._UnlockedGetNodeList()])
1493
    return my_dict
1491
    return self._UnlockedGetAllNodesInfo()
1492

  
1493
  def _UnlockedGetAllNodesInfo(self):
1494
    """Gets configuration of all nodes.
1495

  
1496
    @note: See L{GetAllNodesInfo}
1497

  
1498
    """
1499
    return dict([(node, self._UnlockedGetNodeInfo(node))
1500
                 for node in self._UnlockedGetNodeList()])
1494 1501

  
1495 1502
  @locking.ssynchronized(_config_lock, shared=1)
1496 1503
  def GetNodeGroupsFromNodes(self, nodes):

Also available in: Unified diff