# HG changeset patch # User Lennard de Rijk # Date 1237576316 0 # Node ID 1fcddf90eccc3009cd84f90f0fef995aaafb53a1 # Parent 06ed84dbb1ed570c10b4d0432a8be8eb6e15a676 Fixed docstring for canResign method. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 06ed84dbb1ed -r 1fcddf90eccc app/soc/logic/models/role.py --- 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.