From bb85da439dc484a376cd9da30c18870709a58883 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 12 Mar 2015 16:56:11 +0100 Subject: [PATCH] Fix return code of irc_tests.py The scripts was always returning 0 - see https://review.openstack.org/#/c/163876/1 which should have failed since accessbot was not updated. Fixed with properly wrapping main. Change-Id: Ica8b4fa28cf9ac0009443340949ff6b32ccb9dd1 --- tools/irc_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/irc_tests.py b/tools/irc_tests.py index 36387c32a4..c7a51c0060 100755 --- a/tools/irc_tests.py +++ b/tools/irc_tests.py @@ -14,6 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import sys import yaml @@ -51,4 +52,4 @@ def main(): return errors if __name__ == "__main__": - main() + sys.exit(main())