Commits

DasIch  committed 78fb471

shutil.copytree has no ignore argument in python 2.4

  • Participants
  • Parent commits c9aec11

Comments (0)

Files changed (1)

File tests/path.py

         """
         shutil.rmtree(self, ignore_errors=ignore_errors, onerror=onerror)
 
-    def copytree(self, destination, symlinks=False, ignore=None):
+    def copytree(self, destination, symlinks=False):
         """
         Recursively copy a directory to the given `destination`. If the given
         `destination` does not exist it will be created.
             A callback which gets called with the path of the directory being
             copied and a list of paths as returned by :func:`os.listdir`.
         """
-        shutil.copytree(self, destination, symlinks=symlinks, ignore=ignore)
+        shutil.copytree(self, destination, symlinks=symlinks)
 
     def movetree(self, destination):
         """