From e64c442ff707c4278363247d6a51fb317a13f9e0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 8 Feb 2010 22:37:52 +0000 Subject: Fix undefined local. --- Lib/plat-irix6/cdplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/plat-irix6/cdplayer.py b/Lib/plat-irix6/cdplayer.py index 6529de2..9664b2c 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' % (self.id, i, track)) + new.write('%s.track.%r:\t%s\n' % (self.id, i, self.track[i])) old.close() new.close() posix.rename(filename + '.new', filename) -- cgit v0.12