From bd5664c79cf26503c3ed5f2c6fcaa00e1d9ab985 Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Thu, 4 May 2017 10:45:45 -0700 Subject: [PATCH] Print sorted list of available templates --- atrcopy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atrcopy/__init__.py b/atrcopy/__init__.py index 32e5ece..c464c00 100644 --- a/atrcopy/__init__.py +++ b/atrcopy/__init__.py @@ -268,7 +268,7 @@ def list_templates(): path = get_template_path() files = glob.glob(os.path.join(path, "*")) print "Available templates:" - for name in files: + for name in sorted(files): if name.endswith(".inf"): continue try: