Skip to content

Commit 4b320c1

Browse files
authored
Merge pull request #174 from Pennycook/bugfix/non-existent-file-warning
Use f-string to format `log.warning` message
2 parents 180cef8 + c04c129 commit 4b320c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebasin/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def load_database(dbpath, rootdir):
499499
# Skip files that don't exist.
500500
# (e.g., because they're generated by running make)
501501
if not os.path.exists(path):
502-
log.warning("Ignoring non-existent file: %s", path)
502+
log.warning(f"Ignoring non-existent file: {path}")
503503
continue
504504

505505
# Parse command-line arguments, emulating compiler-specific behavior.

0 commit comments

Comments
 (0)