From 1a4966f9494cc5eb8d2f8148a8bcacfb47a8917d Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 4 Jul 2016 21:55:05 +0530 Subject: [PATCH] [minor] sort get_sites --- frappe/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/__init__.py b/frappe/utils/__init__.py index fbffebf77d..c1355cfd19 100644 --- a/frappe/utils/__init__.py +++ b/frappe/utils/__init__.py @@ -387,7 +387,7 @@ def get_sites(sites_path=None): # is a dir and has site_config.json sites.append(site) - return sites + return sorted(sites) def get_request_session(max_retries=3): from requests.packages.urllib3.util import Retry