From: Aline Manera <alinefm(a)br.ibm.com>
Return a sorted list while listing the repository to make sure about
their position on UI
Signed-off-by: Aline Manera <alinefm(a)br.ibm.com>
---
src/kimchi/model/host.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kimchi/model/host.py b/src/kimchi/model/host.py
index e5b6132..e2a12de 100644
--- a/src/kimchi/model/host.py
+++ b/src/kimchi/model/host.py
@@ -319,7 +319,7 @@ class RepositoriesModel(object):
if self.host_repositories is None:
raise InvalidOperation('KCHREPOS0014E')
- return self.host_repositories.getRepositories().keys()
+ return sorted(self.host_repositories.getRepositories())
def create(self, params):
if self.host_repositories is None:
--
1.7.10.4