Hoa Nguyen has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/36516 )

Change subject: util: Fix an incorrect print statement in git pre-commit hook
......................................................................

util: Fix an incorrect print statement in git pre-commit hook

Change-Id: I13d0a705b6cfab654635380e2adbf36243344a62
Signed-off-by: Hoa Nguyen <[email protected]>
---
M util/git-pre-commit.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/util/git-pre-commit.py b/util/git-pre-commit.py
index 7681b87..ece2467 100755
--- a/util/git-pre-commit.py
+++ b/util/git-pre-commit.py
@@ -114,6 +114,6 @@
             "fixes for commit in\n"
             "the following files: ", file=sys.stderr)
         for f in staged_mismatch:
-            print("\t%s".format(f), file=sys.stderr)
+            print("\t{}".format(f), file=sys.stderr)
         print("Please `git --add' them", file=sys.stderr)
     sys.exit(1)

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/36516
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I13d0a705b6cfab654635380e2adbf36243344a62
Gerrit-Change-Number: 36516
Gerrit-PatchSet: 1
Gerrit-Owner: Hoa Nguyen <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to