diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-31 01:20:34 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-31 01:20:34 -0400 |
commit | 75f1cd727cc4de5640a529f331da5c1b9a6ce00b (patch) | |
tree | c1e21d7f80d7851334f748fec429e0aa2b8978b4 /python | |
parent | 701e45c172aa054916d7a450380185946cdb92df (diff) | |
download | fork-ledger-75f1cd727cc4de5640a529f331da5c1b9a6ce00b.tar.gz fork-ledger-75f1cd727cc4de5640a529f331da5c1b9a6ce00b.tar.bz2 fork-ledger-75f1cd727cc4de5640a529f331da5c1b9a6ce00b.zip |
Corrected Python reference to the AmountParse enum.
Diffstat (limited to 'python')
-rw-r--r-- | python/py_amount.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/py_amount.cc b/python/py_amount.cc index 2df2e1bb..b57687f2 100644 --- a/python/py_amount.cc +++ b/python/py_amount.cc @@ -351,10 +351,10 @@ internal precision.") ; enum_< amount_t::parse_flags_enum_t >("AmountParse") - .value("PARSE_DEFAULT", amount_t::PARSE_DEFAULT) - .value("PARSE_NO_MIGRATE", amount_t::PARSE_NO_MIGRATE) - .value("PARSE_NO_REDUCE", amount_t::PARSE_NO_REDUCE) - .value("PARSE_SOFT_FAIL", amount_t::PARSE_SOFT_FAIL) + .value("DEFAULT", amount_t::PARSE_DEFAULT) + .value("NO_MIGRATE", amount_t::PARSE_NO_MIGRATE) + .value("NO_REDUCE", amount_t::PARSE_NO_REDUCE) + .value("SOFT_FAIL", amount_t::PARSE_SOFT_FAIL) ; register_optional_to_python<amount_t>(); |