diff options
author | Georg Brandl <georg@python.org> | 2010-02-08 22:37:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-08 22:37:52 (GMT) |
commit | e64c442ff707c4278363247d6a51fb317a13f9e0 (patch) | |
tree | 2989c1562cb5e5782c33b156ceea2488ac8f7f93 /Lib | |
parent | 616e8fc5ad8dbe268003cd6b626b8ece0a882039 (diff) | |
download | cpython-e64c442ff707c4278363247d6a51fb317a13f9e0.zip cpython-e64c442ff707c4278363247d6a51fb317a13f9e0.tar.gz cpython-e64c442ff707c4278363247d6a51fb317a13f9e0.tar.bz2 |
Fix undefined local.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/plat-irix6/cdplayer.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |