mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
lock: fix AttributeError in dvc.lock.HardlinkLock (#5152)
This commit is contained in:
+1
-2
@@ -148,9 +148,8 @@ class HardlinkLock(flufl.lock.Lock, LockBase):
|
||||
): # pylint: disable=super-init-not-called
|
||||
import socket
|
||||
|
||||
super().__init__(lockfile)
|
||||
|
||||
self._tmp_dir = tmp_dir
|
||||
super().__init__(lockfile)
|
||||
|
||||
# NOTE: this is basically Lock.__init__ copy-paste, except that
|
||||
# instead of using `socket.getfqdn()` we use `socket.gethostname()`
|
||||
|
||||
Reference in New Issue
Block a user