diff options
author | Trey Hunner <treyhunner@gmail.com> | 2012-04-15 11:38:27 -0700 |
---|---|---|
committer | Trey Hunner <treyhunner@gmail.com> | 2012-04-15 11:38:27 -0700 |
commit | 3daf6c368cb0807756309904098812ab1688d71a (patch) | |
tree | 25be2d29879329ffeb06a3610501f11ce621328d | |
parent | 74f3c254347fae88453385199aea588ebf341a05 (diff) | |
download | pycco-3daf6c368cb0807756309904098812ab1688d71a.tar.gz |
Sort sources (for cli output and for jump menu)
-rw-r--r-- | pycco/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pycco/main.py b/pycco/main.py index 6843f69..c6d9054 100644 --- a/pycco/main.py +++ b/pycco/main.py @@ -497,7 +497,7 @@ def main(): sources = [i for i in get_all_files(filepath or '.', filetype)] global SOURCES - SOURCES = [Source(name, start) for name in sources] + SOURCES = sorted([Source(name, start) for name in sources]) process(SOURCES, outdir=opts.outdir, preserve_paths=opts.paths) |