« Previous | Next » 

Revision 1b68f268

ID1b68f268335999a5df4bf74a25a395aba9d603e7

Added by Helga Velroyen about 11 years ago

If _UnlockedLookupNetwork() fails raise error

Make _UnlockedLookupNetwork() raise OpPrereqError (instead of returning
None) in case it does not find the requested network. Remove useless and
duplicate code such as:

if net_uuid is None:
raise...

This is a cherry-pick of commit 1cce2c4.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Helga Velroyen <>
Reviewed-by: Michele Tartara <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences