Skip to content

Commit

Permalink
[Fixes #11421] Fix flake8 and black issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Sep 4, 2023
1 parent 74f4234 commit e853978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geonode/security/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,9 @@ def compact(self):
}
)

json["users"] = sorted(user_perms, key=lambda x: x['id'], reverse=True)
json["organizations"] = sorted(organization_perms, key=lambda x: x['id'], reverse=True)
json["groups"] = sorted(group_perms, key=lambda x: x['id'], reverse=True)
json["users"] = sorted(user_perms, key=lambda x: x["id"], reverse=True)
json["organizations"] = sorted(organization_perms, key=lambda x: x["id"], reverse=True)
json["groups"] = sorted(group_perms, key=lambda x: x["id"], reverse=True)
return json.copy()


Expand Down

0 comments on commit e853978

Please sign in to comment.