beancounter currency weakness: can't handle lowercase

Bug #379511 reported by markhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
beancounter (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: beancounter

specifying "usd" in the currency field of the addportfolio command results in failure on next status command:

$ beancounter addportfolio intc:10:usd

$ beancounter status
Found no usd for 20090522 in the beancounter database.
 Use the --date and/or --prevdate options to pick another date.

$ beancounter addportfolio intc:123:USD

$ beancounter status
                        Portfolio Status on 22 May 2009
Name Shares Close Position Held Return
Intel Corporation 10 USD 15.11 USD 151.12
Intel Corporation 10 USD 15.11 USD 151.12

Revision history for this message
Dirk Eddelbuettel (edd) wrote :

A patch would be welcome. Should be just a matter of wrapping the 'uc' operator in to upper-case the currency. We do that for the symbol anyway.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.