Skip to content

Commit

Permalink
fix: #28, downgrade "using default config" to a DEBUG message
Browse files Browse the repository at this point in the history
  • Loading branch information
redstreet committed Jun 12, 2024
1 parent bcaa58c commit 9e23e8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions beancount_reds_plugins/effective_date/effective_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def build_config(config):
if config:
holding_accts = literal_eval(config)
if not holding_accts:
# print to stderr
print("Using default config", file=sys.stderr)
if DEBUG:
print("effective_date: Using default config", file=sys.stderr)
holding_accts = {
'Expenses': {'earlier': 'Liabilities:Hold:Expenses', 'later': 'Assets:Hold:Expenses'},
'Income': {'earlier': 'Assets:Hold:Income', 'later': 'Liabilities:Hold:Income'},
Expand Down Expand Up @@ -85,10 +85,10 @@ def effective_date(entries, options_map, config):
filtered_entries.append(entry)

# if DEBUG:
# print("------")
# print("effective_date: ------")
# for e in interesting_entries:
# printer.print_entry(e)
# print("------")
# print("effective_date: ------")

# add a link to each effective date entry. this gets copied over to the newly created effective date
# entries, and thus links each set of effective date entries
Expand Down

0 comments on commit 9e23e8d

Please sign in to comment.