From 45a5239daf0460964b011e57c16a98c30f671901 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 2 Jun 2009 15:22:34 +0000 Subject: removed turnary if git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781058 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid-python-test | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/qpid-python-test b/python/qpid-python-test index 1e342386cd..edfce21fec 100755 --- a/python/qpid-python-test +++ b/python/qpid-python-test @@ -447,7 +447,11 @@ for t in filtered: failed += 1 if not list_only: + if failed: + outcome = "fail" + else: + outcome = "pass" print colorize("Totals:", 1), \ colorize_word("total", "%s tests" % len(filtered)) + ",", \ colorize_word("pass", "%s passed" % passed) + ",", \ - colorize_word("fail" if failed else "pass", "%s failed" % failed) + colorize_word(outcome, "%s failed" % failed) -- cgit v1.2.1