app/soc/logic/models/role.py
changeset 1976 be994529deee
parent 1956 1fcddf90eccc
child 2072 eb4565a8e5b4
--- 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'}