commit cc3a467c171fd46339d1eda0e12cb0c0b70398ca Author: c c@chroniko.jp Date: Mon Jul 13 10:21:34 2020 +0000
TorNet: replace os.symlink with Path.symlink_to
I seem to have glanced over Path.symlink_to() in pathlib documentation, or forgotten to change this line of code, one of the two --- lib/chutney/TorNet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py index 70defa0..ea78172 100644 --- a/lib/chutney/TorNet.py +++ b/lib/chutney/TorNet.py @@ -2162,7 +2162,7 @@ class Network(object): pass else: raise - os.symlink(newnodesdir, nodeslink) + newnodesdir.symlink_to(nodeslink)
def _checkConfig(self): for n in self._nodes:
tor-commits@lists.torproject.org