From 0eaaa74e51408458a162bf5d2d7813056365268e Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 14 Mar 2024 09:29:28 +0100 Subject: rename AtLocation.symlink to symlink_to This mirrors what was done for pathlib.Path to avoid confusion about argument order. --- linuxnamespaces/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxnamespaces/__init__.py') diff --git a/linuxnamespaces/__init__.py b/linuxnamespaces/__init__.py index 625f6c6..02d1feb 100644 --- a/linuxnamespaces/__init__.py +++ b/linuxnamespaces/__init__.py @@ -356,7 +356,7 @@ def populate_dev( for fn in files: (newdev / fn).mknod(stat.S_IFREG) for fn, target in symlinks.items(): - (newdev / fn).symlink(target) + (newdev / fn).symlink_to(target) if pidns: mount( "devpts", -- cgit v1.2.3