xenserver: Use PEP 3110 exception syntax.
authorJoe Stringer <joe@ovn.org>
Tue, 24 May 2016 01:20:30 +0000 (18:20 -0700)
committerJoe Stringer <joe@ovn.org>
Tue, 7 Jun 2016 23:18:45 +0000 (16:18 -0700)
commitfc35b165519fe58d89cb019bc665745cb5e6c7ce
treefd21890cd07a4124227023c6874f4cf2c53ed318
parentcb1e173762d69a54e7339542cd99a5784ccd85e6
xenserver: Use PEP 3110 exception syntax.

This syntax is usable with both python2.7 and python3, so use it instead
of the outdated syntax.

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
xenserver/opt_xensource_libexec_InterfaceReconfigure.py
xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
xenserver/opt_xensource_libexec_interface-reconfigure