core: rework VersionedFile
Previously, core.vfile.VersionedFile inherited from file, which is problematic for several reasons, but primarily because file doesn't exist in Python 3. So we rework it to just be a normal class with a file attribute, and add/change certain methods accordingly.
Showing
- gracedb/api/v1/events/views.py 1 addition, 1 deletiongracedb/api/v1/events/views.py
- gracedb/api/v1/superevents/views.py 1 addition, 1 deletiongracedb/api/v1/superevents/views.py
- gracedb/core/vfile.py 14 additions, 7 deletionsgracedb/core/vfile.py
- gracedb/events/serialize.py 1 addition, 1 deletiongracedb/events/serialize.py
Loading
Please register or sign in to comment