From: Raymond Hettinger Date: Mon, 20 Dec 2004 00:29:29 +0000 (+0000) Subject: Bugs item #1069409 C:\Python24\Lib\compileall.py returns False X-Git-Tag: v2.5a0~2242 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b4b788eaadb36f65b08a4a84e7096bb03dcc12b;p=thirdparty%2FPython%2Fcpython.git Bugs item #1069409 C:\Python24\Lib\compileall.py returns False * return an integer rather than a boolean --- diff --git a/Lib/compileall.py b/Lib/compileall.py index a1f252eb46ce..b21d95f82c94 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)