aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-08-14 14:34:18 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-08-14 14:34:18 +0000
commitbb9dba60f87d94ef62b77369a794634bac174dd6 (patch)
tree08f27ec22235895ac470c99b48f05bc4658e9bf8
parent87982bc544096c61bdcf38bbd855df01d89aa156 (diff)
downloadpaludis-bb9dba60f87d94ef62b77369a794634bac174dd6.tar.gz
paludis-bb9dba60f87d94ef62b77369a794634bac174dd6.tar.xz
(python) Fix for <boost-1.34.
-rw-r--r--python/iterable.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/iterable.hh b/python/iterable.hh
index 7c17074..d00efc6 100644
--- a/python/iterable.hh
+++ b/python/iterable.hh
@@ -77,7 +77,7 @@ namespace paludis
boost::python::list l = boost::python::extract<boost::python::list>(obj_ptr);
- while (boost::python::len(l))
+ while (PyList_Size(obj_ptr))
{
boost::python::object o(l.pop());
if (boost::python::extract<V_ *>(o).check())
@@ -142,7 +142,7 @@ namespace paludis
boost::python::list l = boost::python::extract<boost::python::list>(obj_ptr);
- while (boost::python::len(l))
+ while (PyList_Size(obj_ptr))
{
boost::python::object o(l.pop());
if (boost::python::extract<V_ *>(o).check())