From f895d4a2f9f073830e760b06ee250c8495006158 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 19 Nov 2011 18:23:23 +0100 Subject: [PATCH] Restaure try: except: on derwin --- src/windows.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/windows.py b/src/windows.py index e77bb18b..b0c9f314 100644 --- a/src/windows.py +++ b/src/windows.py @@ -64,10 +64,10 @@ class Win(object): self.height, self.width = height, width return self.height, self.width, self.x, self.y = height, width, x, y - # try: - self._win = Win._tab_win.derwin(height, width, y, x) - # except: - # log.debug('DEBUG: mvwin returned ERR. Please investigate') + try: + self._win = Win._tab_win.derwin(height, width, y, x) + except: + log.debug('DEBUG: mvwin returned ERR. Please investigate') # If this ever fail, uncomment that ^