Avoid test runner crash when we have no tty

Change-Id: I6dac94a98b9125d3371c19fa14a0de9b4e766820
Signed-off-by: Zane Bitter <zbitter@redhat.com>
changes/92/13192/1
Zane Bitter 11 years ago
parent 86c7694007
commit 84da9d441d

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

Loading…
Cancel
Save