summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-28 03:05:35 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-28 03:05:35 -0600
commit52bca153dd7594915501a8a70de67369ac7788a5 (patch)
tree758451557eecdb8e46d3c1200a17590496408365
parent656e46e1823ce00285f08f72d8473a58f9bd561a (diff)
downloadfork-ledger-52bca153dd7594915501a8a70de67369ac7788a5.tar.gz
fork-ledger-52bca153dd7594915501a8a70de67369ac7788a5.tar.bz2
fork-ledger-52bca153dd7594915501a8a70de67369ac7788a5.zip
Change occurrences of auxiliary_date to just aux_date
-rw-r--r--src/item.cc2
-rw-r--r--src/py_item.cc4
-rw-r--r--src/py_post.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/item.cc b/src/item.cc
index 653013ea..a1b9b6bb 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -406,7 +406,7 @@ expr_t::ptr_op_t item_t::lookup(const symbol_t::kind_t kind,
return WRAP_FUNCTOR(get_wrapper<&get_primary_date>);
else if (name == "addr")
return WRAP_FUNCTOR(get_wrapper<&get_addr>);
- else if (name == "auxiliary_date")
+ else if (name == "aux_date")
return WRAP_FUNCTOR(get_wrapper<&get_aux_date>);
break;
diff --git a/src/py_item.cc b/src/py_item.cc
index 361de914..a12784ff 100644
--- a/src/py_item.cc
+++ b/src/py_item.cc
@@ -149,12 +149,12 @@ void export_item()
.def("parse_tags", &item_t::parse_tags)
.def("append_note", &item_t::append_note)
- .add_static_property("use_auxiliary_date",
+ .add_static_property("use_aux_date",
make_getter(&item_t::use_aux_date),
make_setter(&item_t::use_aux_date))
.add_property("date", &item_t::date, make_setter(&item_t::_date))
- .add_property("auxiliary_date", &item_t::aux_date,
+ .add_property("aux_date", &item_t::aux_date,
make_setter(&item_t::_date_aux))
.add_property("state", &item_t::state, &item_t::set_state)
diff --git a/src/py_post.cc b/src/py_post.cc
index cb6ebce7..1c187ff1 100644
--- a/src/py_post.cc
+++ b/src/py_post.cc
@@ -160,7 +160,7 @@ void export_post()
.def("get_tag", py_get_tag_2m)
.def("date", &post_t::date)
- .def("auxiliary_date", &post_t::aux_date)
+ .def("aux_date", &post_t::aux_date)
.def("must_balance", &post_t::must_balance)