commit | eee701fb3b003f3142b3d94bd789ff70cf0539f1 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Sat Aug 20 01:00:16 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Sat Aug 20 01:00:16 2011 +0000 |
tree | 6525b32aba669786a7ce2e7054f9808a80276b38 | |
parent | 872959be45723a132a0d4e209d8bd2b35daa7ee3 [diff] |
Use os.walk(), available since 2.3, instead of os.path.walk(), removed in 3.0, to walk the directory tree. Plus, we can concentrate only on leaf nodes, i.e., files. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138178 91177308-0d34-0410-b5e6-96231b3b80d8