mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
committed by
Ruslan Kuprieiev
parent
4d5be46ab4
commit
8ca3a7b684
+4
-1
@@ -1,3 +1,4 @@
|
||||
import errno
|
||||
import logging
|
||||
import os
|
||||
import threading
|
||||
@@ -475,7 +476,9 @@ class RepoFileSystem(FileSystem): # pylint:disable=abstract-method
|
||||
info_result = fs.info(fs_path)
|
||||
|
||||
if not info_result and not dvc_meta:
|
||||
raise FileNotFoundError
|
||||
raise FileNotFoundError(
|
||||
errno.ENOENT, os.strerror(errno.ENOENT), fs_path
|
||||
)
|
||||
|
||||
from ._metadata import Metadata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user