Mercurial > getan
changeset 217:7d6615ac2453
Shorten code
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 05 Apr 2013 20:00:11 +0200 |
parents | bcaddd0319de |
children | 29e1a68589a0 |
files | getan/view.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/view.py Fri Apr 05 19:59:26 2013 +0200 +++ b/getan/view.py Fri Apr 05 20:00:11 2013 +0200 @@ -55,9 +55,7 @@ self.validate_view() def render(self, size, focus=False): - self.size = size - maxcol, maxrow = size - return self.frame.render((maxcol, maxrow), focus) + return self.frame.render(size, focus) def set_footer_text(self, text, attr, edit=False): if edit: