Code review comment for lp:~soren/nova/fix-unittest

Revision history for this message
Ed Leafe (ed-leafe) wrote :

This might be cleaner:

group = [grp for grp in rv if grp.name == security_group_name][0]

It eliminates the iteration loop, and would have avoided the problem in the first place.

« Back to merge proposal