summaryrefslogtreecommitdiff
path: root/src/py_journal.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-27 01:32:46 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-27 01:32:46 +0100
commitbf30f989f6c661d5e7ac3a41984cf7d98ed50913 (patch)
tree3b24fc4937a7d831ce00db0ab40bbad07f8582ca /src/py_journal.cc
parent2ef1934bb0dbcd08dfe8d4dc68bfd1509c8f51ce (diff)
downloadfork-ledger-bf30f989f6c661d5e7ac3a41984cf7d98ed50913.tar.gz
fork-ledger-bf30f989f6c661d5e7ac3a41984cf7d98ed50913.tar.bz2
fork-ledger-bf30f989f6c661d5e7ac3a41984cf7d98ed50913.zip
Removed some dead code
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r--src/py_journal.cc11
1 files changed, 0 insertions, 11 deletions
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)