aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_error.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-02 10:03:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-02 10:03:38 +0200
commit22045dfb614da1ecd9192937c609591e4bdb606d (patch)
tree70513c9c0895714a9cd61aadfc7b6fe3a634568c /src/libgamma_error.py
parentderp (diff)
downloadpylibgamma-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.py2
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)