Skip to content

Commit

Permalink
chore: remove vestigal comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ericaltendorf committed Aug 23, 2024
1 parent 13a5bef commit c293c89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions beancount/core/position.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ def cost_to_str(cost, dformat, detail=True):
strlist.append('"{}"'.format(cost.label))

elif isinstance(cost, CostSpec):
# I had this if condition commented out, so the body always executed,
# but I can't recall why.
if isinstance(cost.number_per, Decimal) or isinstance(cost.number_total, Decimal):
amountlist = []
if isinstance(cost.number_per, Decimal):
Expand Down

0 comments on commit c293c89

Please sign in to comment.