[Python-checkins] python/dist/src/Lib/plat-irix5 cdplayer.py, 1.8,
1.9 torgb.py, 1.9, 1.10
sjoerd at users.sourceforge.net
sjoerd at users.sourceforge.net
Wed Mar 3 11:34:33 EST 2004
Update of /cvsroot/python/python/dist/src/Lib/plat-irix5
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22263/Lib/plat-irix5
Modified Files:
cdplayer.py torgb.py
Log Message:
Fixed invalid syntax.
Index: cdplayer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix5/cdplayer.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** cdplayer.py 12 Feb 2004 17:35:10 -0000 1.8
--- cdplayer.py 3 Mar 2004 16:34:31 -0000 1.9
***************
*** 83,87 ****
new.write(self.id + '.artist:\t' + self.artist + '\n')
for i in range(1, len(self.track)):
! new.write('%s.track.%r:\t%s\n' % (self.id, i, self.track[i])
old.close()
new.close()
--- 83,87 ----
new.write(self.id + '.artist:\t' + self.artist + '\n')
for i in range(1, len(self.track)):
! new.write('%s.track.%r:\t%s\n' % (self.id, i, self.track[i]))
old.close()
new.close()
Index: torgb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix5/torgb.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** torgb.py 12 Feb 2004 17:35:10 -0000 1.9
--- torgb.py 3 Mar 2004 16:34:31 -0000 1.10
***************
*** 91,95 ****
return fname
if ftype is None or not table.has_key(ftype):
! raise error, '%s: unsupported image file type %r' % (filename, ftype))
(fd, temp) = tempfile.mkstemp()
os.close(fd)
--- 91,95 ----
return fname
if ftype is None or not table.has_key(ftype):
! raise error, '%s: unsupported image file type %r' % (filename, ftype)
(fd, temp) = tempfile.mkstemp()
os.close(fd)
More information about the Python-checkins
mailing list