From 0e6044b87af632771fe390c8c4fd9353a56ed93f Mon Sep 17 00:00:00 2001 From: Pawel Lipski Date: Mon, 9 Jan 2023 13:38:11 +0100 Subject: [PATCH] No longer add trailing space when annotation has no qualifiers - 1st round of fixes --- git_machete/annotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_machete/annotation.py b/git_machete/annotation.py index 32a15bbea..32536b689 100644 --- a/git_machete/annotation.py +++ b/git_machete/annotation.py @@ -51,7 +51,7 @@ def __init__(self, text: str): self.qualifiers_text = self.qualifiers.get_qualifiers_text() def get_unformatted_text(self) -> str: - annotation_text = f" {self.text_without_qualifiers}" + annotation_text = f" {self.text_without_qualifiers}" if self.qualifiers_text != '': annotation_text += ' ' if self.text_without_qualifiers != '' else '' annotation_text += self.qualifiers_text