1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix sorting

This commit is contained in:
Michael DeHaan 2012-10-04 07:08:13 -04:00
parent 761330b125
commit c3f443f56c

View file

@ -273,7 +273,7 @@ def main():
incfile = open(args.includes_file, "w")
incfile.write(includecmt)
for module in os.listdir(args.module_dir):
for module in sorted(os.listdir(args.module_dir)):
if len(args.module_list):
if not module in args.module_list:
continue