From bf30f989f6c661d5e7ac3a41984cf7d98ed50913 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 27 Jun 2009 01:32:46 +0100 Subject: Removed some dead code --- src/py_journal.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/py_journal.cc') diff --git a/src/py_journal.cc b/src/py_journal.cc index 65eca838..fb693ffc 100644 --- a/src/py_journal.cc +++ b/src/py_journal.cc @@ -171,16 +171,6 @@ account_t& accounts_getitem(account_t& account, int i) return *(*elem).second; } -PyObject * py_account_get_data(account_t& account) -{ - return (PyObject *) account.data; -} - -void py_account_set_data(account_t& account, PyObject * obj) -{ - account.data = obj; -} - account_t * py_find_account_1(journal_t& journal, const string& name) { return journal.find_account(name); @@ -342,7 +332,6 @@ void export_journal() .def_readwrite("name", &account_t::name) .def_readwrite("note", &account_t::note) .def_readonly("depth", &account_t::depth) - .add_property("data", py_account_get_data, py_account_set_data) .def_readonly("ident", &account_t::ident) .def("fullname", &account_t::fullname) -- cgit v1.2.3