Avoid test runner crash when we have no tty

Change-Id: I6dac94a98b9125d3371c19fa14a0de9b4e766820
Signed-off-by: Zane Bitter <zbitter@redhat.com>
This commit is contained in:
Zane Bitter 2012-09-18 13:31:37 +02:00
parent 86c7694007
commit 84da9d441d
1 changed files with 0 additions and 1 deletions

View File

@ -101,7 +101,6 @@ class _AnsiColorizer(object):
curses.setupterm()
return curses.tigetnum("colors") > 2
except Exception:
raise
# guess false in case of error
return False
supported = classmethod(supported)