author | Sverre Rabbelier <sverre@rabbelier.nl> |
Fri, 03 Jul 2009 20:41:19 -0700 | |
changeset 2524 | 4b39352e5a07 |
parent 2523 | 9d9d1ded30ee |
child 2525 | 7df431ddcfd3 |
--- a/app/soc/logic/models/survey.py Fri Jul 03 18:39:17 2009 -0700 +++ b/app/soc/logic/models/survey.py Fri Jul 03 20:41:19 2009 -0700 @@ -346,6 +346,13 @@ # return the scope return entity.scope + def _onCreate(self, entity): + """Set the scope of the survey. + """ + + self.getScope(entity) + super(Logic, self)._onCreate(entity) + class ProjectLogic(Logic): """Logic class for ProjectSurvey.