Fix sorting bug in LUQueryGroups
authorAdeodato Simo <dato@google.com>
Thu, 9 Dec 2010 14:25:51 +0000 (14:25 +0000)
committerAdeodato Simo <dato@google.com>
Mon, 13 Dec 2010 16:32:41 +0000 (16:32 +0000)
commit907af6980fc1f2171e7fbfb6ac4b2ed97a596602
treecba431dba7c6409de4743f36ef8bfeb72e4b03fd
parentbd92fca1a276b678d7005fa17e93df5b50b25bbd
Fix sorting bug in LUQueryGroups

In LUQueryGroups.Exec(), NiceSort was being applied to group UUIDs, and
not to group names. We use a temporary name to UUID map to sort the list
of UUIDs by group name instead.

Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib.py