[Python-checkins] python/dist/src/Lib compileall.py,1.16,1.16.4.1

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Dec 20 01:31:18 CET 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32079

Modified Files:
      Tag: release24-maint
	compileall.py 
Log Message:
Bugs item #1069409     C:\Python24\Lib\compileall.py returns False

* return an integer rather than a boolean



Index: compileall.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/compileall.py,v
retrieving revision 1.16
retrieving revision 1.16.4.1
diff -u -d -r1.16 -r1.16.4.1
--- compileall.py	20 Jun 2004 20:59:56 -0000	1.16
+++ compileall.py	20 Dec 2004 00:31:10 -0000	1.16.4.1
@@ -153,5 +153,5 @@
     return success
 
 if __name__ == '__main__':
-    exit_status = not main()
+    exit_status = int(not main())
     sys.exit(exit_status)



More information about the Python-checkins mailing list