mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 07:18:27 +01:00
revert logger to lazy formatting
This commit is contained in:
+2
-1
@@ -715,7 +715,8 @@ class Output:
|
||||
return
|
||||
|
||||
if os.path.isdir(self.fs_path):
|
||||
logger.debug(f"directory '{self}' cannot be used as metrics.")
|
||||
msg = "directory '%s' cannot be used as %s."
|
||||
logger.debug(msg, str(self), "metrics")
|
||||
return
|
||||
|
||||
if not istextfile(self.fs_path, self.fs):
|
||||
|
||||
Reference in New Issue
Block a user