Fixed typo in variable name.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- 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'}