Skip to content

Commit ba5a5a4

Browse files
committed
Disable verify_lfs_checkout for linux
It seems like linux has the same problem as windows. The checkout field is false why the lfs files (dataset files) are checked out correctly.
1 parent 561c6f1 commit ba5a5a4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

client/src/cbltest/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ def verify_lfs_checkout() -> None:
4646
"""
4747
This function is used to verify that the LFS files are being properly checked out.
4848
"""
49-
if os.name == "nt":
50-
# This check, for whatever reason, is entirely unreliable on Windows. The command itself returns
51-
# what I expect, but the checkout field is always false when invoking from python,
52-
# even when the files are properly checked out
49+
if os.name == "nt" or sys.platform.startswith("linux")
50+
# This check, for whatever reason, is entirely unreliable on Windows and linux.
51+
# The command itself returns what I expect, but the checkout field is always false
52+
# when invoking from python, even when the files are properly checked out
5353
return
5454

5555
try:

0 commit comments

Comments
 (0)