diff options
| author | Antoni S. Puimedon <asegurap@redhat.com> | 2013-11-11 15:21:26 +0000 |
|---|---|---|
| committer | David Sommerseth <davids@redhat.com> | 2014-01-10 20:16:07 +0100 |
| commit | a6f163fafaccd9bea4b2807961ef8ed8776a629a (patch) | |
| tree | a15ee7e0168d73e9cde1167e7607681f41b6586f /python-ethtool/etherinfo_struct.h | |
| parent | b15cd540acf49a283d30c28e1424230e51440772 (diff) | |
| download | python-ethtool-a6f163fafaccd9bea4b2807961ef8ed8776a629a.tar.gz python-ethtool-a6f163fafaccd9bea4b2807961ef8ed8776a629a.tar.xz python-ethtool-a6f163fafaccd9bea4b2807961ef8ed8776a629a.zip | |
fix get_module errno setting.
The current code is only setting the errno string but doesn't set
the first argument to the IOError exception, i.e., errno.
This patch builds a tuple (errno, strerror(errno)) so that the
Exception has the errno properly set.
Signed-off-by: Antoni S. Puimedon <asegurap@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
0 files changed, 0 insertions, 0 deletions
