From: Sjoerd Mullender Date: Wed, 22 Dec 1993 12:40:20 +0000 (+0000) Subject: And another init incompatibility bites the dust. X-Git-Tag: v1.0.1~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0;p=thirdparty%2FPython%2Fcpython.git And another init incompatibility bites the dust. --- diff --git a/Demo/sgi/video/Vaddcache.py b/Demo/sgi/video/Vaddcache.py index 4e5f0c30825d..6428fcbce381 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