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/Vfix.py b/Demo/sgi/video/Vfix.py
index 82465bc..6b26023 100755
--- a/Demo/sgi/video/Vfix.py
+++ b/Demo/sgi/video/Vfix.py
@@ -39,7 +39,7 @@
def process(infilename, outfilename):
try:
- vin = VFile.BasicVinFile().init(infilename)
+ vin = VFile.BasicVinFile(infilename)
except IOError, msg:
sys.stderr.write(infilename + ': I/O error: ' + `msg` + '\n')
return 1
@@ -51,7 +51,7 @@
return 1
try:
- vout = VFile.BasicVoutFile().init(outfilename)
+ vout = VFile.BasicVoutFile(outfilename)
except IOError, msg:
sys.stderr.write(outfilename + ': I/O error: ' + `msg` + '\n')
return 1