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 /test/convert.py | |
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 'test/convert.py')
-rwxr-xr-x | test/convert.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/convert.py b/test/convert.py index 54118720..9f322b2e 100755 --- a/test/convert.py +++ b/test/convert.py @@ -118,6 +118,7 @@ for line in fd.readlines(): # Determine this list automatically by scanning the class_ lines in # python/*.cc line = re.sub('amount_t::', 'Amount.', line) + line = re.sub('Amount\.PARSE_', 'AmountParse.', line) line = re.sub('commodity_t\(([^)]+?)\)', '\\1', line) line = re.sub('commodity_t::', 'Commodity.', line) line = re.sub('balance_t::', 'Balance.', line) |