Simplify target generation in DistributeConfig
authorGuido Trotter <ultrotter@google.com>
Mon, 5 May 2008 09:09:13 +0000 (09:09 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 5 May 2008 09:09:13 +0000 (09:09 +0000)
commitc6bc15e684d07cc876543482e37a9b4eb5cef9a4
tree04d7a8d27800311883e17c7dc9812bef9dc55926
parentdca490e9a6c6f3b98155e272bc119cbb922c6dd3
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