From c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0 Mon Sep 17 00:00:00 2001 From: Sjoerd Mullender Date: Wed, 22 Dec 1993 12:40:20 +0000 Subject: And another init incompatibility bites the dust. --- Demo/sgi/video/Vaddcache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Demo/sgi/video/Vaddcache.py b/Demo/sgi/video/Vaddcache.py index 4e5f0c3..6428fcb 100755 --- a/Demo/sgi/video/Vaddcache.py +++ b/Demo/sgi/video/Vaddcache.py @@ -42,7 +42,8 @@ def main(): def process(filename): try: fp = open(filename, 'r+') - vin = VFile.RandomVinFile().initfp(fp, filename) + vin = VFile.RandomVinFile(fp) + vin.filename = filename except IOError, msg: sys.stderr.write(filename + ': I/O error: ' + `msg` + '\n') return 1 -- cgit v0.12