From 84da9d441df3edbc0ae0fb2f46fcdd31aa413362 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Tue, 18 Sep 2012 13:31:37 +0200 Subject: [PATCH] Avoid test runner crash when we have no tty Change-Id: I6dac94a98b9125d3371c19fa14a0de9b4e766820 Signed-off-by: Zane Bitter --- heat/testing/runner.py | 1 - 1 file changed, 1 deletion(-) 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) -- 2.45.2