diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-29 14:43:16 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-29 14:43:16 -0600 |
commit | 520ece21644c4f3a97f722e351fce382c1661183 (patch) | |
tree | 1247ef37d801e3fe29254924640008c4dbf4d587 /src/py_xact.cc | |
parent | 5517871144e61ec1c7bad8f4dd96e0672e63f9d1 (diff) | |
download | fork-ledger-520ece21644c4f3a97f722e351fce382c1661183.tar.gz fork-ledger-520ece21644c4f3a97f722e351fce382c1661183.tar.bz2 fork-ledger-520ece21644c4f3a97f722e351fce382c1661183.zip |
Fixed problem with the Python build
Diffstat (limited to 'src/py_xact.cc')
-rw-r--r-- | src/py_xact.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/py_xact.cc b/src/py_xact.cc index 604d8d59..af1fcdd5 100644 --- a/src/py_xact.cc +++ b/src/py_xact.cc @@ -107,6 +107,9 @@ void export_xact() ; class_< xact_t, bases<xact_base_t> > ("Transaction") + .def("id", &xact_t::id) + .def("seq", &xact_t::seq) + .add_property("code", make_getter(&xact_t::code), make_setter(&xact_t::code)) @@ -117,8 +120,6 @@ void export_xact() .def("add_post", &xact_t::add_post, with_custodian_and_ward<1, 2>()) .def("magnitude", &xact_t::magnitude) - .def("idstring", &xact_t::idstring) - .def("id", &xact_t::id) .def("lookup", &xact_t::lookup) |