Use __init__ instead of init.
Also use CDDB_PATH and CDDB_WRITE_DIR environment variables in cddb.py.
diff --git a/Lib/plat-irix5/readcd.py b/Lib/plat-irix5/readcd.py
index 23c00ed..7af6882 100755
--- a/Lib/plat-irix5/readcd.py
+++ b/Lib/plat-irix5/readcd.py
@@ -22,7 +22,7 @@
func(arg, cb_type, data)
class Readcd:
- def init(self, *arg):
+ def __init__(self, *arg):
if len(arg) == 0:
self.player = cd.open()
elif len(arg) == 1:
@@ -38,7 +38,6 @@
self.end = 0
self.status = None
self.trackinfo = None
- return self
def eject(self):
self.player.eject()