1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Sort roles alphabetically

This commit is contained in:
Aidan Fitzgerald 2018-10-09 12:47:31 -04:00
parent 2df99382a8
commit 2c3470d740

View file

@ -10,7 +10,7 @@ clipboard utility (e.g. pbcopy on macOS, xclip on Linux).
import os, glob
for role in os.listdir("roles"):
for role in sorted(os.listdir("roles")):
readme_glob = os.path.join("roles", role, "README.*")
if not glob.glob(readme_glob):
print(role)