diff options
author | Antoni S. Puimedon <asegurap@redhat.com> | 2014-01-17 23:27:42 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2014-01-21 19:04:52 +0100 |
commit | 505bca305c4c0e2d3a29e24b27bf03c358db11cf (patch) | |
tree | 5ad30ccf51a5e2c27f72941a64c7e2550669d1f0 /tests | |
parent | f6cb491848553cda70ed1f42e972f76e49a20e96 (diff) | |
download | python-ethtool-505bca305c4c0e2d3a29e24b27bf03c358db11cf.tar.gz python-ethtool-505bca305c4c0e2d3a29e24b27bf03c358db11cf.tar.xz python-ethtool-505bca305c4c0e2d3a29e24b27bf03c358db11cf.zip |
exceptions: Simplify errno derived exception handling
Errnos are missing from some exceptions and in others the code could
be simplified by just using the convenience method PyErr_FromErrno.
Signed-off-by: Antoni S. Puimedon <asegurap@redhat.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1389997662-8460-1-git-send-email-asegurap@redhat.com
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions