def get(self, email): self.isLegalUser(email) if self.request.url.endswith('apply'): self.checkData(mafRead(email)) elif self.request.url.endswith('retreat'): self.checkData(retreatRead(email)) else: self.checkData(read(email))
def get(self, email): if not self.isLegalUser(email): self.error(404) else: self.checkData(retreatRead(email))