changeset 43076 | 2372284d9457 |
parent 35380 | acff41957b34 |
child 48875 | 6000f5b25c9b |
--- a/tests/list-tree.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/list-tree.py Sun Oct 06 09:45:02 2019 -0400 @@ -10,6 +10,7 @@ ap.add_argument('path', nargs='+') opts = ap.parse_args() + def gather(): for p in opts.path: if not os.path.exists(p): @@ -24,4 +25,5 @@ else: yield p + print('\n'.join(sorted(gather(), key=lambda x: x.replace(os.path.sep, '/'))))