[Python-checkins] python/dist/src/Lib compileall.py,1.13,1.14

loewis@users.sourceforge.net loewis@users.sourceforge.net
Thu, 16 Jan 2003 03:02:46 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30087/Lib

Modified Files:
	compileall.py 
Log Message:
Catch IOErrors.


Index: compileall.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/compileall.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** compileall.py	15 Jan 2003 11:51:06 -0000	1.13
--- compileall.py	16 Jan 2003 11:02:43 -0000	1.14
***************
*** 69,72 ****
--- 69,75 ----
                      print err.msg
                      success = 0
+                 except IOError, e:
+                     print "Sorry", e
+                     success = 0
                  else:
                      if ok == 0: