print recipes in order

This commit is contained in:
Mathieu Virbel 2018-10-28 12:14:35 +01:00
parent b73c520923
commit 6ffd07ab06

View file

@ -847,7 +847,7 @@ class Recipe(object):
@classmethod
def list_recipes(cls):
recipes_dir = join(dirname(__file__), "recipes")
for name in listdir(recipes_dir):
for name in sorted(listdir(recipes_dir)):
fn = join(recipes_dir, name)
if isdir(fn):
yield name