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

Change-Id: I13d0a705b6cfab654635380e2adbf36243344a62
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36516
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Hoa Nguyen
2020-10-23 01:43:27 -07:00
parent ad5fa9ebe4
commit 9a8985a57f

View File

@@ -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)