From c293c89596313fd5682299a22823683cf12416d3 Mon Sep 17 00:00:00 2001 From: Eric Altendorf Date: Fri, 23 Aug 2024 11:42:23 -0700 Subject: [PATCH] chore: remove vestigal comment --- beancount/core/position.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/beancount/core/position.py b/beancount/core/position.py index 9aae1c500..01a913c08 100644 --- a/beancount/core/position.py +++ b/beancount/core/position.py @@ -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):