diff options
| author | Glenn Willen <[email protected]> | 2019-03-04 17:10:11 -0800 |
|---|---|---|
| committer | Glenn Willen <[email protected]> | 2019-03-04 17:10:11 -0800 |
| commit | 21be609b4947c955b93dd2be3fbc7624f6e04325 (patch) | |
| tree | 4736183f0cc7d544fe51f80825153d46ad6e9c4d /src/httpserver.cpp | |
| parent | Merge #15479: test: Add .style.yapf (diff) | |
| download | discoin-21be609b4947c955b93dd2be3fbc7624f6e04325.tar.xz discoin-21be609b4947c955b93dd2be3fbc7624f6e04325.zip | |
In lint-format-strings, open files sequentially
In lint-format-strings, we use python argparse to read our file arguments. In
this mode, argparse opens all the files simultaneously. On OS X, where the
default filehandle limit is 128, this causes the lint to fail. Instead, ask
argparse for our filename arguments as strings, and open them one at a time
using 'with open'.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions