]> granicus.if.org Git - python/commitdiff
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
authorLarry Hastings <larry@hastings.org>
Thu, 3 May 2012 19:56:44 +0000 (12:56 -0700)
committerLarry Hastings <larry@hastings.org>
Thu, 3 May 2012 19:56:44 +0000 (12:56 -0700)
Lib/shutil.py

index 6df492425c95ff4fa0713838644a6456ec8bb143..892a94cc41aaa855d8569bdfb7ae2922db296ea2 100644 (file)
@@ -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):