Skip to content

Commit

Permalink
Merge pull request #44 from lamby/reproducible-output
Browse files Browse the repository at this point in the history
Please make generated __init__.py files reproduducible
  • Loading branch information
dirk-thomas committed Feb 22, 2016
2 parents c335328 + cdc5eac commit 060d1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/genpy/generate_initpy.py
Expand Up @@ -48,7 +48,7 @@ def write_modules(outdir):
return 0
types_in_dir = set([f[1:-3] for f in os.listdir(outdir)
if f.endswith('.py') and f != '__init__.py'])
generated_modules = [_module_name(f) for f in types_in_dir]
generated_modules = [_module_name(f) for f in sorted(types_in_dir)]
write_module(outdir, generated_modules)
return 0

Expand Down

0 comments on commit 060d1bf

Please sign in to comment.