# HG changeset patch # User Lennard de Rijk # Date 1237632020 0 # Node ID be994529deeed16536b0e1e86893795748a274b8 # Parent e9bc965298490f9193585fec4c6f762d1ef4fd4b Fixed typo in variable name. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r e9bc96529849 -r be994529deee app/soc/logic/models/role.py --- a/app/soc/logic/models/role.py Sat Mar 21 08:47:25 2009 +0000 +++ b/app/soc/logic/models/role.py Sat Mar 21 10:40:20 2009 +0000 @@ -45,7 +45,7 @@ super(Logic, self).__init__(model, base_model=base_model, scope_logic=scope_logic) - self.dissalow_last_resign = disallow_last_resign + self.disallow_last_resign = disallow_last_resign def getGroupEntityFromScopePath(self, group_logic, scope_path): @@ -102,7 +102,7 @@ - Error message otherwise. """ - if self.dissalow_last_resign: + if self.disallow_last_resign: # check if this is the last active role for it's scope fields = {'scope': entity.scope, 'status': 'active'}