From 9a8985a57f7bc1e63a27adfb09b149ff2fe4eaf5 Mon Sep 17 00:00:00 2001 From: Hoa Nguyen Date: Fri, 23 Oct 2020 01:43:27 -0700 Subject: [PATCH] util: Fix an incorrect print statement in git pre-commit hook Change-Id: I13d0a705b6cfab654635380e2adbf36243344a62 Signed-off-by: Hoa Nguyen Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36516 Reviewed-by: Gabe Black Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black Tested-by: kokoro --- util/git-pre-commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/git-pre-commit.py b/util/git-pre-commit.py index 7681b878b..ece246714 100755 --- a/util/git-pre-commit.py +++ b/util/git-pre-commit.py @@ -114,6 +114,6 @@ if failing_files: "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) -- 2.30.2