From: Jacob Lifshay Date: Fri, 18 Sep 2020 06:30:46 +0000 (-0700) Subject: remove the not-yet-started section from output markdown X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01f6e723f650605547cb01632f16f72b355465e2;p=utils.git remove the not-yet-started section from output markdown --- 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()