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:
parent
2df99382a8
commit
2c3470d740
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ clipboard utility (e.g. pbcopy on macOS, xclip on Linux).
|
||||||
|
|
||||||
import os, glob
|
import os, glob
|
||||||
|
|
||||||
for role in os.listdir("roles"):
|
for role in sorted(os.listdir("roles")):
|
||||||
readme_glob = os.path.join("roles", role, "README.*")
|
readme_glob = os.path.join("roles", role, "README.*")
|
||||||
if not glob.glob(readme_glob):
|
if not glob.glob(readme_glob):
|
||||||
print(role)
|
print(role)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue