Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6d846a

Browse files
And another init incompatibility bites the dust.
1 parent d6b9ce9 commit c6d846a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Demo/sgi/video/Vaddcache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def main():
4242
def process(filename):
4343
try:
4444
fp = open(filename, 'r+')
45-
vin = VFile.RandomVinFile().initfp(fp, filename)
45+
vin = VFile.RandomVinFile(fp)
46+
vin.filename = filename
4647
except IOError, msg:
4748
sys.stderr.write(filename + ': I/O error: ' + `msg` + '\n')
4849
return 1

0 commit comments

Comments
 (0)