And another init incompatibility bites the dust.
This commit is contained in:
parent
d6b9ce961e
commit
c6d846a5d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue