This "raise" makes the following code to fall back to non-color unreachable. While this has been so since the initial version, recently it started biting us on travis-ci. (I haven't investigated why. It might or might not be related to recently released tox 2.0's "ENV isolation".)
Signed-off-by: YAMAMOTO Takashi <[email protected]> --- ryu/tests/test_lib.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ryu/tests/test_lib.py b/ryu/tests/test_lib.py index 562e9f9..1d66447 100644 --- a/ryu/tests/test_lib.py +++ b/ryu/tests/test_lib.py @@ -58,7 +58,6 @@ class _AnsiColorizer(object): curses.setupterm() return curses.tigetnum("colors") > 2 except: - raise # guess false in case of error return False supported = classmethod(supported) -- 2.2.1 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
