From 01f6e723f650605547cb01632f16f72b355465e2 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 17 Sep 2020 23:30:46 -0700 Subject: [PATCH] remove the not-yet-started section from output markdown --- src/budget_sync/test/test_write_budget_markdown.py | 4 +--- src/budget_sync/write_budget_markdown.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/budget_sync/test/test_write_budget_markdown.py b/src/budget_sync/test/test_write_budget_markdown.py index b035a39..37ac9f9 100644 --- a/src/budget_sync/test/test_write_budget_markdown.py +++ b/src/budget_sync/test/test_write_budget_markdown.py @@ -49,9 +49,7 @@ class TestWriteBudgetMarkdown(unittest.TestCase): "/": DIR, "/output_dir": DIR, '/output_dir/person1.mdwn': b'\n# person1\n\n# Status Tracking\n## Not yet ' - b'started\n* [Bug #1](https://bugzilla.example.com/show_bug.c' - b'gi?id=1): \n', + b'budget-sync -->\n# person1\n\n# Status Tracking\n', '/output_dir/person2.mdwn': b'\n# person2\n\n# Status Tracking\n', }, filesystem.files) diff --git a/src/budget_sync/write_budget_markdown.py b/src/budget_sync/write_budget_markdown.py index aefc04a..c72caf2 100644 --- a/src/budget_sync/write_budget_markdown.py +++ b/src/budget_sync/write_budget_markdown.py @@ -150,7 +150,7 @@ def _markdown_for_person(person: Person, milestone_header], node=payment.node, payment=payment) - write_display_status_chunk(DisplayStatus.NotYetStarted) + # write_display_status_chunk(DisplayStatus.NotYetStarted) return writer.buffer.getvalue() -- 2.30.2