From 7b4b788eaadb36f65b08a4a84e7096bb03dcc12b Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 20 Dec 2004 00:29:29 +0000 Subject: [PATCH] Bugs item #1069409 C:\Python24\Lib\compileall.py returns False * return an integer rather than a boolean --- Lib/compileall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/compileall.py b/Lib/compileall.py index a1f252eb46c..b21d95f82c9 100644 --- a/Lib/compileall.py +++ b/Lib/compileall.py @@ -153,5 +153,5 @@ def main(): return success if __name__ == '__main__': - exit_status = not main() + exit_status = int(not main()) sys.exit(exit_status)