Skip to content
Snippets Groups Projects

Update role.py to fix json_out Role-bug

Merged Alexander Krause requested to merge AlexKrause-master-patch-23219 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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
Loading