diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1993-12-22 12:40:20 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1993-12-22 12:40:20 (GMT) |
commit | c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0 (patch) | |
tree | 96c0671c7c9d2dd02307c9a8842bf4bc4389cc89 /Demo/sgi | |
parent | d6b9ce961e314a4a980be0affaa9795553dbd8fc (diff) | |
download | cpython-c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0.zip cpython-c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0.tar.gz cpython-c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0.tar.bz2 |
And another init incompatibility bites the dust.
Diffstat (limited to 'Demo/sgi')
-rwxr-xr-x | Demo/sgi/video/Vaddcache.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |