From d0741ef82678c8d8db92acbbfbb01d3388aeeab6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Fri, 19 May 2006 14:07:47 +0000 Subject: [PATCH] - 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 --- product/ERP5Subversion/Tool/SubversionTool.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py index 9c536dcffb..034dccc0fa 100644 --- a/product/ERP5Subversion/Tool/SubversionTool.py +++ b/product/ERP5Subversion/Tool/SubversionTool.py @@ -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-*. -- 2.30.9