git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement DeleteRole()
[plcapi.git]
/
PLC
/
Methods
/
GetRoles.py
diff --git
a/PLC/Methods/GetRoles.py
b/PLC/Methods/GetRoles.py
index
d664fcd
..
769922b
100644
(file)
--- a/
PLC/Methods/GetRoles.py
+++ b/
PLC/Methods/GetRoles.py
@@
-19,4
+19,5
@@
class GetRoles(Method):
returns = [Role.fields]
def call(self, auth):
- return Roles(self.api)
+ roles = Roles(self.api)
+ return roles.dicts()