From bb946b34a8d66a94f987f8f213098e4ed2e87d7a Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Mon, 14 May 2012 14:27:27 -0500 Subject: [PATCH] sys.exit of error on run_system_tests --- VERSION | 2 +- gluon/widget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 8773ae90..7f078ef7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-05-14 14:26:04) dev +Version 2.00.0 (2012-05-14 14:27:23) dev diff --git a/gluon/widget.py b/gluon/widget.py index 4b5ab186..0e75be8b 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -72,7 +72,7 @@ def run_system_tests(): else: print "Only Python 2.x supported." ret = 256 - sys.exit(ret or 1) + sys.exit(ret and 1) class IO(object): """ """