summaryrefslogtreecommitdiffstats
path: root/vendor/walkdir/compare/walk.py
blob: 303d323e246e39d8682a13851975821c468e627f (plain)
1
2
3
4
5
6
7
8
9
10
from __future__ import absolute_import, division, print_function

import os
import sys

for dirpath, dirnames, filenames in os.walk(sys.argv[1]):
    for n in dirnames:
        print(os.path.join(dirpath, n))
    for n in filenames:
        print(os.path.join(dirpath, n))