Skip to content

Commit

Permalink
Use lists instead of tuples in VMDiracHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Aug 20, 2021
1 parent d0572eb commit 9519e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebAppDIRAC/WebApp/handler/VMDiracHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def web_getInstancesList(self):
sortValue = ast.literal_eval(sortValue.strip("[]"))
sortField = str(sortValue["property"]).replace("_", ".")
sortDir = str(sortValue["direction"])
sort = [(sortField, sortDir)]
sort = [[sortField, sortDir]]

condDict = {}
if 'cond' in self.request.arguments:
Expand Down

0 comments on commit 9519e7b

Please sign in to comment.