summaryrefslogtreecommitdiffstats
path: root/Lib/compileall.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-20 00:31:10 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-20 00:31:10 (GMT)
commitaa70752fa047e01f21e9218e19388fe9f1734982 (patch)
tree4bf34e2c2dbbbeafba5481909e7d3fcd4928fc7a /Lib/compileall.py
parenta5debf7732dfa14389616e3b908a3098f0f8097f (diff)
downloadcpython-aa70752fa047e01f21e9218e19388fe9f1734982.zip
cpython-aa70752fa047e01f21e9218e19388fe9f1734982.tar.gz
cpython-aa70752fa047e01f21e9218e19388fe9f1734982.tar.bz2
Bugs item #1069409 C:\Python24\Lib\compileall.py returns False
* return an integer rather than a boolean
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r--Lib/compileall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py
index a1f252e..b21d95f 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)