Mailing List Archive

CVS: python/dist/src/Mac/Lib macresource.py,1.6,1.7
Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv29117

Modified Files:
macresource.py
Log Message:
Re-raise the Res.Error if the file doesn't exist.


Index: macresource.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/macresource.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** macresource.py 29 Mar 2002 14:29:35 -0000 1.6
--- macresource.py 29 Mar 2002 21:17:57 -0000 1.7
***************
*** 92,95 ****
--- 92,97 ----
pathname = _decode(pathname)
refno = Res.FSOpenResourceFile(pathname, u'', 1)
+ else:
+ raise
return refno