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
fix packaging for f37 (4/n)
[plcapi.git]
/
PLC
/
Methods
/
DeleteRole.py
diff --git
a/PLC/Methods/DeleteRole.py
b/PLC/Methods/DeleteRole.py
index
aac0913
..
680fc6d
100644
(file)
--- a/
PLC/Methods/DeleteRole.py
+++ b/
PLC/Methods/DeleteRole.py
@@
-29,7
+29,7
@@
class DeleteRole(Method):
def call(self, auth, role_id_or_name):
roles = Roles(self.api, [role_id_or_name])
if not roles:
- raise PLCInvalidArgument
, "No such role"
+ raise PLCInvalidArgument
("No such role")
role = roles[0]
role.delete()