summaryrefslogtreecommitdiffstats
path: root/Demo/sgi
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-12-22 12:40:20 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-12-22 12:40:20 (GMT)
commitc6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0 (patch)
tree96c0671c7c9d2dd02307c9a8842bf4bc4389cc89 /Demo/sgi
parentd6b9ce961e314a4a980be0affaa9795553dbd8fc (diff)
downloadcpython-c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0.zip
cpython-c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0.tar.gz
cpython-c6d846a5d57d0958e71eb236b1b7ba7fd34bcbd0.tar.bz2
And another init incompatibility bites the dust.
Diffstat (limited to 'Demo/sgi')
-rwxr-xr-xDemo/sgi/video/Vaddcache.py3
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