From e4f7e70e9d454bffce7f1ea85b07f44e4b5f53fc Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 19 Nov 2013 17:27:29 +0100
Subject: [PATCH] Improve location of capsule

---
 xbob/io/include/xbob.io/api.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xbob/io/include/xbob.io/api.h b/xbob/io/include/xbob.io/api.h
index c7145c3..1973f42 100644
--- a/xbob/io/include/xbob.io/api.h
+++ b/xbob/io/include/xbob.io/api.h
@@ -305,9 +305,9 @@ typedef struct {
     if (!XbobIo_API) {
       PyErr_Format(PyExc_ImportError,
 #   if PY_VERSION_HEX >= 0x02070000
-          "cannot find C/C++ API capsule at `%s.%s'",
+          "cannot find C/C++ API capsule at `%s.%s._C_API'",
 #   else
-          "cannot find C/C++ API cobject at `%s.%s'",
+          "cannot find C/C++ API cobject at `%s.%s._C_API'",
 #   endif
           BOOST_PP_STRINGIZE(XBOB_IO_MODULE_PREFIX),
           BOOST_PP_STRINGIZE(XBOB_IO_MODULE_NAME));
-- 
GitLab