mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
fs: _get_dvc_path() cannot be called with dvc_fs=None
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
d4170b2ec0
commit
b99a0cd6ca
+1
-2
@@ -60,8 +60,7 @@ def _merge_info(repo, fs_info, dvc_info):
|
||||
|
||||
|
||||
def _get_dvc_path(dvc_fs, dvc_parts):
|
||||
if dvc_fs:
|
||||
return dvc_fs.path.join(*dvc_parts) if dvc_parts else ""
|
||||
return dvc_fs.path.join(*dvc_parts) if dvc_parts else ""
|
||||
|
||||
|
||||
class _DvcFileSystem(AbstractFileSystem): # pylint:disable=abstract-method
|
||||
|
||||
Reference in New Issue
Block a user