summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-08 22:37:20 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-08 22:37:20 (GMT)
commit616e8fc5ad8dbe268003cd6b626b8ece0a882039 (patch)
treee5bd93d826faea5d521501962d41aa3200fdcf21
parent1247775afae64d5c2993e62328e996540fa235f2 (diff)
downloadcpython-616e8fc5ad8dbe268003cd6b626b8ece0a882039.zip
cpython-616e8fc5ad8dbe268003cd6b626b8ece0a882039.tar.gz
cpython-616e8fc5ad8dbe268003cd6b626b8ece0a882039.tar.bz2
Fix missing string formatting argument.
-rw-r--r--Lib/plat-irix6/cdplayer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-irix6/cdplayer.py b/Lib/plat-irix6/cdplayer.py
index 0f7983b..6529de2 100644
--- a/Lib/plat-irix6/cdplayer.py
+++ b/Lib/plat-irix6/cdplayer.py
@@ -85,7 +85,7 @@ class Cdplayer:
new.write(self.id + '.title:\t' + self.title + '\n')
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' % (i, track))
+ new.write('%s.track.%r:\t%s\n' % (self.id, i, track))
old.close()
new.close()
posix.rename(filename + '.new', filename)