Skip to content

Commit c51bcca

Browse files
committed
Avoid unnecessary .format
1 parent bd2731a commit c51bcca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/compileall.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def compile_file(fullname, ddir=None, force=False, rx=None, quiet=0,
169169
# callers seem to expect this, so the best we can do is fail without raising
170170
if not legacy and sys.implementation.cache_tag is None:
171171
if not quiet:
172-
print("No cache tag is available to generate .pyc path for {!r}"
173-
.format(fullname))
172+
print("No cache tag is available to generate .pyc path for",
173+
repr(fullname))
174174
return False
175175

176176
dfile = None

0 commit comments

Comments
 (0)