diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-28 17:16:47 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-28 17:16:47 -0400 |
commit | 23117a58f22b426f99ccdfdb5fe9cf2012ab98a8 (patch) | |
tree | f06c66c2e43aad730d1d81d4a375a72a68c96c93 /python | |
parent | 08c7a530f8eead09802cd5f56facb93c9837fccf (diff) | |
download | fork-ledger-23117a58f22b426f99ccdfdb5fe9cf2012ab98a8.tar.gz fork-ledger-23117a58f22b426f99ccdfdb5fe9cf2012ab98a8.tar.bz2 fork-ledger-23117a58f22b426f99ccdfdb5fe9cf2012ab98a8.zip |
Expose the commodity type to python as "Commodity".
Diffstat (limited to 'python')
-rw-r--r-- | python/py_commodity.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/py_commodity.cc b/python/py_commodity.cc index 8998b32a..6611a900 100644 --- a/python/py_commodity.cc +++ b/python/py_commodity.cc @@ -52,7 +52,7 @@ void export_commodity() scope().attr("COMMODITY_WALKED") = COMMODITY_WALKED; class_< commodity_t, bases<>, - commodity_t, boost::noncopyable > ("commodity", no_init) + commodity_t, boost::noncopyable > ("Commodity", no_init) .def(self == self) .def("drop_flags", &commodity_t::drop_flags) |