From 4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 19 Nov 2009 21:53:02 -0500 Subject: Many improvements to Ledger's Python bindings --- src/py_journal.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/py_journal.cc') diff --git a/src/py_journal.cc b/src/py_journal.cc index 7e9f8a1b..5be9cbe1 100644 --- a/src/py_journal.cc +++ b/src/py_journal.cc @@ -52,10 +52,6 @@ namespace { return *journal.master; } - commodity_pool_t& py_commodity_pool(journal_t& journal) { - return *journal.commodity_pool; - } - long xacts_len(journal_t& journal) { return journal.xacts.size(); @@ -276,10 +272,6 @@ void export_journal() with_custodian_and_ward_postcall<1, 0> >()), make_setter(&journal_t::bucket)) .add_property("was_loaded", make_getter(&journal_t::was_loaded)) - .add_property("commodity_pool", - make_getter(&journal_t::commodity_pool, - return_internal_reference<1, - with_custodian_and_ward_postcall<1, 0> >())) .def("add_account", &journal_t::add_account) .def("remove_account", &journal_t::remove_account) -- cgit v1.2.3