diff --git a/app/utils.py b/app/utils.py index a3a1c6109..58c029955 100644 --- a/app/utils.py +++ b/app/utils.py @@ -130,7 +130,9 @@ def getUserVOs(entitlements, vo_role=None): elif elem in g.settings.vo_map: vos.append(g.settings.vo_map[elem]) - return list(set(vos)).sort() + vos = list(set(vos)) + vos.sort() + return vos def getCachedSiteList(force=False):