diff options
author | David Sommerseth <davids@redhat.com> | 2014-02-07 13:53:36 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2014-02-21 16:13:04 +0100 |
commit | 3463fc5556f731aa2e29981bdb27cb50364770dd (patch) | |
tree | c815d3ea7f9f02647867539ece3e7f46d9f6036c /pifconfig.py | |
parent | 505bca305c4c0e2d3a29e24b27bf03c358db11cf (diff) | |
download | python-ethtool-3463fc5556f731aa2e29981bdb27cb50364770dd.tar.gz python-ethtool-3463fc5556f731aa2e29981bdb27cb50364770dd.tar.xz python-ethtool-3463fc5556f731aa2e29981bdb27cb50364770dd.zip |
Report invalid/non-existing devices as ENODEV
Without this patch py-ethtool will just report with a very
generic system error exception if trying to query a non-existing
network interface. This patch will change this to report the
error using ENODEV instead.
Signed-off-by: David Sommerseth <davids@redhat.com>
Reviewed-by: Antoni S. Puimedon <asegurap@redhat.com>
Diffstat (limited to 'pifconfig.py')
0 files changed, 0 insertions, 0 deletions