From d5e7767841342aeb1186a11ac419345a22fe35dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 4 May 2022 14:44:10 +0200 Subject: [PATCH] Remove redundant debug statements --- src/changelog/changelog.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/changelog/changelog.py b/src/changelog/changelog.py index 1482dce..ac0d707 100644 --- a/src/changelog/changelog.py +++ b/src/changelog/changelog.py @@ -65,10 +65,6 @@ def parse_text_command(text): def parse_text(line): if results := re.findall(search_pattern, line, re.IGNORECASE): logging.debug(f"Found matches: {results}") - if len(results) != 1: - logging.debug("More than 1 match found.") - else: - logging.debug("1 match found.") parentheses_items: list = [] # FIXME: add links to other mentioned sections, for now just link the first one section_id = format_section_id(results[0])