diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-16 03:09:13 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-16 03:09:13 -0500 |
commit | 49ec40a939ac5cd46f7ea85e03896e89377890d2 (patch) | |
tree | bc982c086eb8462565f3a7316a48a178b11a05a0 /src/history.cc | |
parent | ecd2ece1957b96845ebc7e863fc9ff8be3c5361d (diff) | |
download | fork-ledger-49ec40a939ac5cd46f7ea85e03896e89377890d2.tar.gz fork-ledger-49ec40a939ac5cd46f7ea85e03896e89377890d2.tar.bz2 fork-ledger-49ec40a939ac5cd46f7ea85e03896e89377890d2.zip |
pricedb was outputting redundant prices
Fixes #704
Diffstat (limited to 'src/history.cc')
-rw-r--r-- | src/history.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/history.cc b/src/history.cc index 3767c1df..f1e88401 100644 --- a/src/history.cc +++ b/src/history.cc @@ -212,9 +212,11 @@ void commodity_history_t::map_prices(function<void(datetime_t, else price.set_commodity(const_cast<commodity_t&>(*get(namemap, sv))); DEBUG("history.map", "Inverted price is " << price); + DEBUG("history.map", "fn(" << when << ", " << price << ")"); fn(when, price); } } else { + DEBUG("history.map", "fn(" << when << ", " << pair.second << ")"); fn(when, pair.second); } } |