aboutsummaryrefslogtreecommitdiff
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 /Lib/compileall.py
parentBug #1079011: Incorrect error message (somewhat) (diff)
downloadcpython-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.tar.gz
cpython-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.tar.bz2
cpython-7b4b788eaadb36f65b08a4a84e7096bb03dcc12b.zip
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 a1f252eb46c..b21d95f82c9 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)