python/ovs/socket_util: don't use Exception, but ValueError
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 15 Oct 2012 21:57:27 +0000 (06:57 +0900)
committerBen Pfaff <blp@nicira.com>
Tue, 16 Oct 2012 17:19:49 +0000 (10:19 -0700)
commit378cc7f11274b21e6cc837129166b24a5281aa3c
tree7c7b49c958f795be8b8c82e7462329003cd7234d
parent93ea780907c2c4315ecc1a3e7823fcba3aba5e96
python/ovs/socket_util: don't use Exception, but ValueError

67656b9ff297f305b3bfcca2868e8e870e108283
used Exception, but it should be more specific error.
Use ValueError instread of Exception.

Suggested-by: Reid Price <reid@nicira.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
python/ovs/socket_util.py