From: Larry Hastings Date: Thu, 3 May 2012 19:56:44 +0000 (-0700) Subject: Issue #14127: Fix no-op stub for platforms that lack some "os" functions. X-Git-Tag: v3.3.0a4~299 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b14544807e73e371b68753d1b01f3e1ad2eecc1c;p=python Issue #14127: Fix no-op stub for platforms that lack some "os" functions. --- diff --git a/Lib/shutil.py b/Lib/shutil.py index 6df492425c..892a94cc41 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -138,7 +138,7 @@ def copystat(src, dst, symlinks=False): only if both `src` and `dst` are symlinks. """ - def _nop(*args): + def _nop(*args, ns=None): pass if symlinks and os.path.islink(src) and os.path.islink(dst):