summaryrefslogtreecommitdiff
path: root/src/py_post.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 05:50:07 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 05:50:07 -0600
commit9ec9cdf41e5176f7fcf06da5f75593d9ba3d4028 (patch)
treef9536d691ef7c5abea82349a0b58a5f5e3cf8e33 /src/py_post.cc
parent944e580825f0d9ce060b6dcdffe8990b6c2cca20 (diff)
downloadfork-ledger-9ec9cdf41e5176f7fcf06da5f75593d9ba3d4028.tar.gz
fork-ledger-9ec9cdf41e5176f7fcf06da5f75593d9ba3d4028.tar.bz2
fork-ledger-9ec9cdf41e5176f7fcf06da5f75593d9ba3d4028.zip
Started writing Python unit tests
Diffstat (limited to 'src/py_post.cc')
-rw-r--r--src/py_post.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_post.cc b/src/py_post.cc
index bd599604..2789082e 100644
--- a/src/py_post.cc
+++ b/src/py_post.cc
@@ -116,7 +116,7 @@ void export_post()
make_setter(&post_t::xdata_t::datetime))
.add_property("account",
make_getter(&post_t::xdata_t::account,
- return_value_policy<reference_existing_object>()),
+ return_internal_reference<>()),
make_setter(&post_t::xdata_t::account,
with_custodian_and_ward<1, 2>()))
.add_property("sort_values",