]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
And another init incompatibility bites the dust.
authorSjoerd Mullender <sjoerd@acm.org>
Wed, 22 Dec 1993 12:40:20 +0000 (12:40 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Wed, 22 Dec 1993 12:40:20 +0000 (12:40 +0000)
Demo/sgi/video/Vaddcache.py

index 4e5f0c30825df48c7fca0f9fdf995c99106a8495..6428fcbce3815aacc58a7d955891befcbf70ca2e 100755 (executable)
@@ -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