Change occurrences of auxiliary_date to just aux_date

This commit is contained in:
John Wiegley 2012-02-28 03:05:35 -06:00
parent 656e46e182
commit 52bca153dd
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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)

View file

@ -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)