diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-02 10:03:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-02 10:03:38 +0200 |
commit | 22045dfb614da1ecd9192937c609591e4bdb606d (patch) | |
tree | 70513c9c0895714a9cd61aadfc7b6fe3a634568c /src/libgamma_error.py | |
parent | derp (diff) | |
download | pylibgamma-22045dfb614da1ecd9192937c609591e4bdb606d.tar.gz pylibgamma-22045dfb614da1ecd9192937c609591e4bdb606d.tar.bz2 pylibgamma-22045dfb614da1ecd9192937c609591e4bdb606d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libgamma_error.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgamma_error.py b/src/libgamma_error.py index 0012a21..afefd5e 100644 --- a/src/libgamma_error.py +++ b/src/libgamma_error.py @@ -464,7 +464,7 @@ def create_error(error_code : int) -> Exception: error_code = ctypes.get_errno() if error_code >= 0: - import c + import libgamma_native_error as c e = OSError() e.errno = error_code e.strerror = c.strerror(e.errno) |