Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly
though...
diff --git a/Demo/sgi/video/VCR.py b/Demo/sgi/video/VCR.py
index 8fa87b0..0e2edc6 100755
--- a/Demo/sgi/video/VCR.py
+++ b/Demo/sgi/video/VCR.py
@@ -142,13 +142,12 @@
DEBUG=0
class VCR:
- def init(self):
+ def __init__(self):
self.ifp, self.ofp = initline(DEVICE)
self.busy_cmd = None
self.async = 0
self.cb = None
self.cb_arg = None
- return self
def _check(self):
if self.busy_cmd: