author | Lennard de Rijk <ljvderijk@gmail.com> |
Fri, 20 Mar 2009 19:11:56 +0000 | |
changeset 1956 | 1fcddf90eccc |
parent 1955 | 06ed84dbb1ed |
child 1957 | 972758a2682f |
--- a/app/soc/logic/models/role.py Fri Mar 20 18:53:37 2009 +0000 +++ b/app/soc/logic/models/role.py Fri Mar 20 19:11:56 2009 +0000 @@ -94,6 +94,9 @@ def canResign(self, entity): """Checks if the current entity is allowed to be resigned. + Args: + entity: a Role entity + Returns: - None if the entity is allowed to resign. - Error message otherwise.