equal
deleted
inserted
replaced
49 |
49 |
50 sponsor_entity = entity.scope |
50 sponsor_entity = entity.scope |
51 |
51 |
52 if sponsor_entity.status == 'new': |
52 if sponsor_entity.status == 'new': |
53 # this sponsor is new so mark as active |
53 # this sponsor is new so mark as active |
54 fields = {'status' : 'active'} |
54 fields = {'status': 'active'} |
55 sponsor_logic.logic.updateEntityProperties(sponsor_entity, fields) |
55 sponsor_logic.logic.updateEntityProperties(sponsor_entity, fields) |
56 |
56 |
57 # call super |
57 # call super |
58 super(Logic, self)._onCreate(entity) |
58 super(Logic, self)._onCreate(entity) |
59 |
59 |