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