From 42f020fc09c0f53e17cdfb97065308d718a9b1d1 Mon Sep 17 00:00:00 2001
From: Manuel Guenther <manuel.guenther@idiap.ch>
Date: Tue, 9 Sep 2014 16:32:29 +0200
Subject: [PATCH] Fixed bug in hdf5.sub_groups bindings

---
 bob/io/base/hdf5.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/io/base/hdf5.cpp b/bob/io/base/hdf5.cpp
index f218d0a..47cb773 100644
--- a/bob/io/base/hdf5.cpp
+++ b/bob/io/base/hdf5.cpp
@@ -769,7 +769,7 @@ static PyObject* PyBobIoHDF5File_SubGroups(PyBobIoHDF5FileObject* self, PyObject
 
   PyObject* pyrel = 0;
   PyObject* pyrec = 0;
-  if (!PyArg_ParseTupleAndKeywords(args, kwds, "O", kwlist, &pyrel, &pyrec)) return 0;
+  if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO", kwlist, &pyrel, &pyrec)) return 0;
 
   bool relative = false;
   if (pyrel && PyObject_IsTrue(pyrel)) relative = true;
-- 
GitLab