Description
Trying to dump an Avro file with the python3 tool command:
> python3 -m avro.tool dump test.avro
fails on:
NameError: name 'file' is not defined
This needs fixing by changing line 105 of avro/tool.py from:
return file(f)
into:
return open(f, 'rb')
This affects (most recent) Python3 avro-python3 PyPI version 1.9.2.1. Didn't check whether older Python3 versions and Python2 avro PyPI version suffer from the same issue.
Attachments
Issue Links
- links to