commit | b2d57dd60a8ea61d2afad6fcf6fffe114d12bade | [log] [tgz] |
---|---|---|
author | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | Mon Jun 15 04:48:15 2015 +0000 |
committer | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | Mon Jun 15 05:32:08 2015 +0000 |
tree | dfe8f8cb99751beffb2d076bcffa35b8f6f5dcd1 | |
parent | 354338da0a837b9b71db8889717b31d08d705fa9 [diff] |
Remove error handling of list_networks list_networks() of compute network client is implemented like: if name: networks = [n for n in body['networks'] if n['label'] == name] So if the network of the specified name don't exist, the return value is an empty dict. lib_exc.NotFound never happens. This patch removes lib_exc.NotFound handling. Change-Id: I8a48d31b6e9b932729d2156cf08669a1970d0b5b