denshoproject / ddr-cmdln

Command-line tools for automating the Densho Digital Repository's various processes.
Other
0 stars 2 forks source link

Use fileio for all file I/O #91

Closed gjost closed 5 years ago

gjost commented 6 years ago

We want to fully support Unicode (it's 2018!!). There are way too many instances of manual file reads/writes in the codebase. Let's use fileio functions for all I/O.

gjost commented 5 years ago

As of commit 8e9fc65 all I/O of archival content runs through DDR.fileio. A grep through the codebase reveals some remaining instances of with open(... but these involve non-content work files, e.g. lockfiles.