From 23117a58f22b426f99ccdfdb5fe9cf2012ab98a8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 28 Jan 2009 17:16:47 -0400 Subject: Expose the commodity type to python as "Commodity". --- python/py_commodity.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.2.3