]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
authorThomas Wouters <thomas@python.org>
Sun, 16 Jul 2000 11:57:20 +0000 (11:57 +0000)
committerThomas Wouters <thomas@python.org>
Sun, 16 Jul 2000 11:57:20 +0000 (11:57 +0000)
genuine bug, so I checked it in separately.

Lib/plat-irix5/cdplayer.py
Lib/plat-irix6/cdplayer.py

index 0e27468451e8d6805b78fd44a208a02135cde532..eeb56cefe915cc2d929126bb8522d43106da44c5 100755 (executable)
@@ -53,7 +53,7 @@ class Cdplayer:
                                if not match:
                                        print 'syntax error in ~/' + cdplayerrc
                                        continue
-                               name, valye = match.group(1, 2)
+                               name, value = match.group(1, 2)
                                if name == 'title':
                                        self.title = value
                                elif name == 'artist':
index 0e27468451e8d6805b78fd44a208a02135cde532..eeb56cefe915cc2d929126bb8522d43106da44c5 100644 (file)
@@ -53,7 +53,7 @@ class Cdplayer:
                                if not match:
                                        print 'syntax error in ~/' + cdplayerrc
                                        continue
-                               name, valye = match.group(1, 2)
+                               name, value = match.group(1, 2)
                                if name == 'title':
                                        self.title = value
                                elif name == 'artist':