summaryrefslogtreecommitdiff
path: root/src/py_account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_account.cc')
-rw-r--r--src/py_account.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/py_account.cc b/src/py_account.cc
index cc9008c9..2e1fd35b 100644
--- a/src/py_account.cc
+++ b/src/py_account.cc
@@ -39,6 +39,8 @@
namespace ledger {
+using namespace flags;
+using namespace python;
using namespace boost::python;
namespace {
@@ -231,11 +233,11 @@ void export_account()
.def("__len__", accounts_len)
.def("__getitem__", accounts_getitem, return_internal_reference<>())
- .def("__iter__", python::range<return_internal_reference<> >
+ .def("__iter__", boost::python::range<return_internal_reference<> >
(&account_t::accounts_begin, &account_t::accounts_end))
- .def("accounts", python::range<return_internal_reference<> >
+ .def("accounts", boost::python::range<return_internal_reference<> >
(&account_t::accounts_begin, &account_t::accounts_end))
- .def("posts", python::range<return_internal_reference<> >
+ .def("posts", boost::python::range<return_internal_reference<> >
(&account_t::posts_begin, &account_t::posts_end))
.def("has_xdata", &account_t::has_xdata)