[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

Fred L. Drake python-dev@python.org
Fri, 18 Aug 2000 07:57:31 -0700


Update of /cvsroot/python/python/dist/src/Lib/plat-irix5
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22917/plat-irix5

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-irix5/flp.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** flp.py	2000/06/28 14:48:01	1.18
--- flp.py	2000/08/18 14:57:26	1.19
***************
*** 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-irix5/jpeg.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** jpeg.py	1998/08/07 15:28:06	1.2
--- jpeg.py	2000/08/18 14:57:26	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-irix5/readcd.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** readcd.py	1995/02/01 14:24:32	1.10
--- readcd.py	2000/08/18 14:57:26	1.11
***************
*** 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-irix5/torgb.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** torgb.py	1993/12/17 15:25:22	1.4
--- torgb.py	2000/08/18 14:57:26	1.5
***************
*** 51,55 ****
  
  
! error = 'torgb.error' # Exception
  
  def torgb(filename):
--- 51,56 ----
  
  
! class error(Exception):
! 	pass
  
  def torgb(filename):