Skip to content

Commit

Permalink
No longer add trailing space when annotation has no qualifiers - 1st …
Browse files Browse the repository at this point in the history
…round of fixes
  • Loading branch information
PawelLipski committed Jan 9, 2023
1 parent cefda41 commit 0e6044b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_machete/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e6044b

Please sign in to comment.