Mercurial > libervia-web
comparison src/server/server.py @ 926:612e33fd32a8
server (pages): fixed _prepare_render handling
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 03 Apr 2017 01:00:29 +0200 |
parents | e00151140f77 |
children | bb4dfc2802c0 |
comparison
equal
deleted
inserted
replaced
925:e00151140f77 | 926:612e33fd32a8 |
---|---|
1656 else: | 1656 else: |
1657 child.render(request) | 1657 child.render(request) |
1658 raise failure.Failure(exceptions.CancelError(u'subpage page is used')) | 1658 raise failure.Failure(exceptions.CancelError(u'subpage page is used')) |
1659 | 1659 |
1660 def _prepare_render(self, dummy, request): | 1660 def _prepare_render(self, dummy, request): |
1661 defer.maybeDeferred(self.prepare_render, self, request) | 1661 return defer.maybeDeferred(self.prepare_render, self, request) |
1662 | 1662 |
1663 def _render_method(self, dummy, request): | 1663 def _render_method(self, dummy, request): |
1664 return defer.maybeDeferred(self.render_method, self, request) | 1664 return defer.maybeDeferred(self.render_method, self, request) |
1665 | 1665 |
1666 def _render_template(self, dummy, template_data): | 1666 def _render_template(self, dummy, template_data): |