Skip to content

Commit afe9697

Browse files
authored
lock: fix AttributeError in dvc.lock.HardlinkLock (#5152)
1 parent a6151ea commit afe9697

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dvc/lock.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,8 @@ def __init__(
148148
): # pylint: disable=super-init-not-called
149149
import socket
150150

151-
super().__init__(lockfile)
152-
153151
self._tmp_dir = tmp_dir
152+
super().__init__(lockfile)
154153

155154
# NOTE: this is basically Lock.__init__ copy-paste, except that
156155
# instead of using `socket.getfqdn()` we use `socket.gethostname()`

0 commit comments

Comments
 (0)