app/soc/logic/models/org_admin.py
changeset 1654 b33f52648efe
parent 1307 091a21cf3627
child 1955 06ed84dbb1ed
equal deleted inserted replaced
1653:d46f7f7030fe 1654:b33f52648efe
    40 
    40 
    41     super(Logic, self).__init__(model=model, base_model=base_model,
    41     super(Logic, self).__init__(model=model, base_model=base_model,
    42                                 scope_logic=scope_logic)
    42                                 scope_logic=scope_logic)
    43 
    43 
    44   def _onCreate(self, entity):
    44   def _onCreate(self, entity):
    45     """Marks the Organization for this Org Admin as active if it's status is new.
    45     """Marks the Organization for this Org Admin as active 
       
    46        if it's status is new.
    46     """
    47     """
    47 
    48 
    48     org_entity = entity.scope
    49     org_entity = entity.scope
    49 
    50 
    50     if org_entity.status == 'new':
    51     if org_entity.status == 'new':