]> granicus.if.org Git - python/commitdiff
Fix missing string formatting argument.
authorGeorg Brandl <georg@python.org>
Mon, 8 Feb 2010 22:37:20 +0000 (22:37 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 8 Feb 2010 22:37:20 +0000 (22:37 +0000)
Lib/plat-irix6/cdplayer.py

index 0f7983b0be683ffa9f656155655dee7c9cff741f..6529de21d7007deb327648c9fce89b59992111e6 100644 (file)
@@ -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)