diff options
author | Philipp Hahn <hahn@univention.de> | 2018-11-20 08:59:35 +0100 |
---|---|---|
committer | Daniel Berrange <berrange@redhat.com> | 2020-08-18 09:48:25 +0000 |
commit | 67af8b910b62de6542e15d68c8dd5a275cf77f55 (patch) | |
tree | 4101825690157f8ec1286e3900c1013deec863b3 /libvirt-override-virNetwork.py | |
parent | ec76ba3507597dd3ef4090ce9bfeee7d75b2d9d5 (diff) | |
download | libvirt-python-67af8b910b62de6542e15d68c8dd5a275cf77f55.tar.gz |
override: Simplify exception handling
sys.exc_info() returns a 3-tuple (type, value, traceback), where `value`
is the instance captured by `except type as value`.
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'libvirt-override-virNetwork.py')
0 files changed, 0 insertions, 0 deletions