Commit b1454480 authored by Larry Hastings's avatar Larry Hastings

Issue #14127: Fix no-op stub for platforms that lack some "os" functions.

parent a6becaa9
...@@ -138,7 +138,7 @@ def copystat(src, dst, symlinks=False): ...@@ -138,7 +138,7 @@ def copystat(src, dst, symlinks=False):
only if both `src` and `dst` are symlinks. only if both `src` and `dst` are symlinks.
""" """
def _nop(*args): def _nop(*args, ns=None):
pass pass
if symlinks and os.path.islink(src) and os.path.islink(dst): if symlinks and os.path.islink(src) and os.path.islink(dst):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment