Restaure try: except: on derwin

This commit is contained in:
Florent Le Coz 2011-11-19 18:23:23 +01:00
parent 158692fa99
commit f895d4a2f9

View file

@ -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 ^