From: Raymond Hettinger Date: Mon, 20 Dec 2004 00:31:10 +0000 (+0000) Subject: Bugs item #1069409 C:\Python24\Lib\compileall.py returns False X-Git-Tag: v2.4.1c1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa70752fa047e01f21e9218e19388fe9f1734982;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)