Skip to content

Commit 9def368

Browse files
committed
Use f-string for log message
As suggested by @catileptic
1 parent 6f3a99d commit 9def368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ingestors/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def ingest(self, file_path, entity, **kwargs):
199199
try:
200200
ingestor_class = self.auction(file_path, entity)
201201
ingestor_name = ingestor_class.__name__
202-
log.info("Ingestor [%r]: %s", entity, ingestor_name)
202+
log.info(f"Ingestor [{repr(entity)}]: {ingestor_name}")
203203

204204
start_time = default_timer()
205205
self.delegate(ingestor_class, file_path, entity)

0 commit comments

Comments
 (0)