[Python-checkins] CVS: python/dist/src/Lib/plat-irix6 flp.py,1.5,1.6 jpeg.py,1.2,1.3 readcd.py,1.1,1.2 torgb.py,1.1,1.2
Fred L. Drake
python-dev@python.org
Fri, 18 Aug 2000 07:59:47 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 flp.py,1.18,1.19 jpeg.py,1.2,1.3 readcd.py,1.10,1.11 torgb.py,1.4,1.5
- Next message: [Python-checkins] CVS: python/nondist/peps pep-0222.txt,NONE,1.1 pep-0000.txt,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/plat-irix6
In directory slayer.i.sourceforge.net:/tmp/cvs-serv23221/plat-irix6
Modified Files:
flp.py jpeg.py readcd.py torgb.py
Log Message:
Convert some old-style string exceptions to class exceptions.
Index: flp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix6/flp.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** flp.py 2000/06/28 14:48:01 1.5
--- flp.py 2000/08/18 14:59:32 1.6
***************
*** 13,17 ****
ENDLINE = '=============================='
! error = 'flp.error'
##################################################################
--- 13,18 ----
ENDLINE = '=============================='
! class error(Exception):
! pass
##################################################################
Index: jpeg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix6/jpeg.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** jpeg.py 1998/08/07 15:28:23 1.2
--- jpeg.py 2000/08/18 14:59:33 1.3
***************
*** 6,10 ****
# XXX the resulting file causes weirdness.
! error = 'jpeg.error' # Exception
options = {'quality': 75, 'optimize': 0, 'smooth': 0, 'forcegray': 0}
--- 6,11 ----
# XXX the resulting file causes weirdness.
! class error(Exception):
! pass
options = {'quality': 75, 'optimize': 0, 'smooth': 0, 'forcegray': 0}
Index: readcd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix6/readcd.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** readcd.py 1997/01/15 19:19:15 1.1
--- readcd.py 2000/08/18 14:59:33 1.2
***************
*** 3,8 ****
import cd, CD
! Error = 'Readcd.Error'
! _Stop = 'Readcd.Stop'
def _doatime(self, cb_type, data):
--- 3,10 ----
import cd, CD
! class Error(Exception):
! pass
! class _Stop(Exception):
! pass
def _doatime(self, cb_type, data):
Index: torgb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix6/torgb.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** torgb.py 1997/01/15 19:19:19 1.1
--- torgb.py 2000/08/18 14:59:33 1.2
***************
*** 51,55 ****
! error = 'torgb.error' # Exception
def torgb(filename):
--- 51,56 ----
! class error(Exception):
! pass
def torgb(filename):
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 flp.py,1.18,1.19 jpeg.py,1.2,1.3 readcd.py,1.10,1.11 torgb.py,1.4,1.5
- Next message: [Python-checkins] CVS: python/nondist/peps pep-0222.txt,NONE,1.1 pep-0000.txt,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]