Skip to content

Commit

Permalink
Merge pull request #526 from grycap/devel
Browse files Browse the repository at this point in the history
Fix getvos
  • Loading branch information
micafer authored Mar 12, 2024
2 parents e8462ef + 7b7f59c commit 025b8a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 025b8a0

Please sign in to comment.