summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-20 00:29:29 +0000
committerRaymond Hettinger <python@rcn.com>2004-12-20 00:29:29 +0000
commit7b4b788eaadb36f65b08a4a84e7096bb03dcc12b (patch)
tree2409804bb98ee5ff703a05773a807847b447c03e
parent5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77 (diff)
downloadcpython-git-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.tar.gz
Bugs item #1069409 C:\Python24\Lib\compileall.py returns False
* return an integer rather than a boolean
-rw-r--r--Lib/compileall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py
index a1f252eb46..b21d95f82c 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)