avoid using fstrings in client code

This commit is contained in:
Mike McLean 2023-06-26 10:37:50 -04:00 committed by Tomas Kopecek
parent 61675aec2f
commit 5fb2dfa8ca

View file

@ -1006,7 +1006,7 @@ def handle_call(goptions, session, args):
if options.bare_strings:
return arg
else:
parser.error(f"Invalid value: {arg!r}")
parser.error("Invalid value: %r" % arg)
# the method to call
name = args[0]