summaryrefslogtreecommitdiffstats
path: root/Lib/compileall.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-20 00:29:29 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-20 00:29:29 (GMT)
commit7b4b788eaadb36f65b08a4a84e7096bb03dcc12b (patch)
tree2409804bb98ee5ff703a05773a807847b447c03e /Lib/compileall.py
parent5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77 (diff)
downloadcpython-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.zip
cpython-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.tar.gz
cpython-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.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)