[IMP] osutil.listdir follow symlinks

bzr revid: christophe@tinyerp.com-20081211145305-9vf5k996rcaueat4
This commit is contained in:
Christophe Simonis 2008-12-11 15:53:05 +01:00
parent 3767640049
commit e85e69dffd
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def listdir(dir, recursive=False):
return os.listdir(dir)
res = []
for root, dirs, files in os.walk(dir):
for root, dirs, files in walksymlinks(dir):
root = root[len(dir)+1:]
res.extend([opj(root, f) for f in files])
return res