We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5bee24 commit 6eac40dCopy full SHA for 6eac40d
dvc/system.py
@@ -24,16 +24,14 @@ def copy(src, dest):
24
def hardlink(source, link_name):
25
try:
26
os.link(source, link_name)
27
- return
28
- except Exception as exc:
+ except OSError as exc:
29
raise DvcException("failed to link") from exc
30
31
@staticmethod
32
def symlink(source, link_name):
33
34
os.symlink(source, link_name)
35
36
37
raise DvcException("failed to symlink") from exc
38
39
0 commit comments