Skip to content
Snippets Groups Projects
Commit 255f322e authored by Jiahang Chen's avatar Jiahang Chen
Browse files

Merge branch 'AlexKrause-master-patch-23219' into 'master'

Update role.py to fix json_out Role-bug

See merge request !24
parents 660cad9e f6798f07
No related branches found
No related tags found
1 merge request!24Update role.py to fix json_out Role-bug
Pipeline #617068 passed
......@@ -79,7 +79,7 @@ def identifier(self, value):
def to_json(self):
"""Returns a JSON representation of this role."""
out = {"class": self.__class_name, "name": self.__name}
self.__json_out = {"class": self.__class_name, "name": self.__name}
if self.identifier:
self.__json_out["identifier"] = self.identifier
return self.__json_out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment