Commit Graph

1 Commits

Author SHA1 Message Date
Jon Dufresne 50517b2171 Prefer subprocess.DEVNULL over open(os.devnull, 'w')
Available since Python 3.3.

https://docs.python.org/3/library/subprocess.html#subprocess.DEVNULL

Use a context manager for the other opened file, dump.
2020-12-27 08:37:08 -08:00