diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-19 21:53:02 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-19 22:24:24 -0500 |
commit | 4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2 (patch) | |
tree | e4bce67522d52cd7be03544501191d761dce7799 /src/py_journal.cc | |
parent | 6e31328bd62d15e8da4238394abd8de65539cfa2 (diff) | |
download | fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.tar.gz fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.tar.bz2 fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.zip |
Many improvements to Ledger's Python bindings
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r-- | src/py_journal.cc | 8 |
1 files changed, 0 insertions, 8 deletions
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) |