From 2233e4687bce6dd88b0d1f94a7e311c43f28a3c9 Mon Sep 17 00:00:00 2001
From: Viacheslav Hletenko <v.gletenko@vyos.io>
Date: Tue, 16 Apr 2024 08:49:54 +0000
Subject: T6238: Fix title check commit message should for f-string

Fix
```
Commit title '{title}' does not match the required format!
```
---
 scripts/check-pr-title-and-commit-messages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/check-pr-title-and-commit-messages.py b/scripts/check-pr-title-and-commit-messages.py
index 8fe3ca79..f7376e98 100755
--- a/scripts/check-pr-title-and-commit-messages.py
+++ b/scripts/check-pr-title-and-commit-messages.py
@@ -20,7 +20,7 @@ def check_pr_title(title):
 
 def check_commit_message(title):
     if not re.match(commit_regex, title):
-        print("Commit title '{title}' does not match the required format!")
+        print(f"Commit title '{title}' does not match the required format!")
         print("Valid title example: T99999: make IPsec secure")
         sys.exit(1)
 
-- 
cgit v1.2.3