Skip to content

Commit

Permalink
[Fix](format) compatible run_clang_format format string with python2/…
Browse files Browse the repository at this point in the history
…3.6/higher (#28469)
  • Loading branch information
airborne12 authored Dec 15, 2023
1 parent 97b0338 commit 501a79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-support/run_clang_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def strtobool(val):
elif val in ('n', 'no', 'f', 'false', 'off', '0'):
return 0
else:
raise ValueError(f"Invalid truth value '{val}'")
raise ValueError("Invalid truth value '{}'".format(val))


from functools import partial
Expand Down

0 comments on commit 501a79a

Please sign in to comment.