And another init incompatibility bites the dust.

This commit is contained in:
Sjoerd Mullender 1993-12-22 12:40:20 +00:00
parent d6b9ce961e
commit c6d846a5d5
1 changed files with 2 additions and 1 deletions

View File

@ -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