From: Zane Bitter Date: Tue, 18 Sep 2012 11:31:37 +0000 (+0200) Subject: Avoid test runner crash when we have no tty X-Git-Tag: 2014.1~1389 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=84da9d441df3edbc0ae0fb2f46fcdd31aa413362;p=openstack-build%2Fheat-build.git Avoid test runner crash when we have no tty Change-Id: I6dac94a98b9125d3371c19fa14a0de9b4e766820 Signed-off-by: Zane Bitter --- diff --git a/heat/testing/runner.py b/heat/testing/runner.py index e6304991..6327cf2d 100755 --- a/heat/testing/runner.py +++ b/heat/testing/runner.py @@ -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)