def update(self): for sector in aq_chain(aq_inner(self.context)): if ISector.providedBy(sector): break else: sector = aq_inner(self.context) self.action_url = "%s/@@version-command" % sector.absolute_url() self.surveys = getSurveys(self.context)
def getSurveys(self, context): from euphorie.content.sector import getSurveys return getSurveys(context)
def getSurveys(self, context): return getSurveys(context)