Skip to content

Commit

Permalink
system: reflink: use lazy logging
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Dec 6, 2023
1 parent c5f2571 commit 8740236
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dvc_objects/fs/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ def _cdll(name):
clib = _cdll(LIBC)
except OSError as exc:
logger.debug(
"unable to access '{}' (errno '{}'). " "Falling back to '{}'.".format(
LIBC, exc.errno, LIBC_FALLBACK
)
"unable to access '%s' (errno '%d'). Falling back to '%s'.",
LIBC,
exc.errno,
LIBC_FALLBACK,
)
if exc.errno != errno.ENOENT:
raise
Expand Down

0 comments on commit 8740236

Please sign in to comment.