Simplify target generation in DistributeConfig
authorGuido Trotter <ultrotter@google.com>
Mon, 5 May 2008 08:15:14 +0000 (08:15 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 5 May 2008 08:15:14 +0000 (08:15 +0000)
commit41362e70c223e6f1b7d4bdffd1f92c8a97813a19
tree638596b2f2a91e6600363e226f1003e6d4b141c0
parent8498462b7af41a4b23ef6004710b17d9a529f592
Simplify target generation in DistributeConfig

Currently we get the list of nodes, and for each one extract all its info, and
just to exclude it if the name matches ours. Since the list of nodes is a list
of names just use .remove() to exclude ourself from it, and use that list
directly.

Reviewed-by: iustinp
lib/config.py