Commit d0741ef8 authored by Christophe Dumez's avatar Christophe Dumez

- added PSF copyright for the two copied function (sorry)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7374 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1a07bd0f
......@@ -129,6 +129,8 @@ def copytree(src, dst, symlinks=False):
source tree result in symbolic links in the destination tree; if
it is false, the contents of the files pointed to by symbolic
links are copied.
Copyright (c) 2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved
"""
names = listdir(src)
errors = []
......@@ -152,9 +154,12 @@ def copytree(src, dst, symlinks=False):
def cacheWalk(top, topdown=True, onerror=None):
"""Directory tree generator.
modification of os.path.walk to use dircache.listdir
instead of os.path.listdir
Copyright (c) 2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved
"""
# modification of os.path.walk to use dircache.listdir
# instead of os.path.listdir
try:
# Note that listdir and error are globals in this module due
# to earlier import-*.
......
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