From b14544807e73e371b68753d1b01f3e1ad2eecc1c Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Thu, 3 May 2012 12:56:44 -0700 Subject: [PATCH] Issue #14127: Fix no-op stub for platforms that lack some "os" functions. --- Lib/shutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/shutil.py b/Lib/shutil.py index 6df492425c9..892a94cc41a 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):