diff options
author | Daniel Hahler <git@thequod.de> | 2018-10-05 16:14:51 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2018-10-05 23:13:44 +0200 |
commit | 2351b931dd1b3ca0c83b1d684d5a62ba90f9f280 (patch) | |
tree | 3daa8964913e101a3c799a242b25d99c9e09a077 /scripts/genvimvim.lua | |
parent | 39ad99b594aa68b6c3024dd9bfa3f7e31c14dff9 (diff) | |
download | rneovim-2351b931dd1b3ca0c83b1d684d5a62ba90f9f280.tar.gz rneovim-2351b931dd1b3ca0c83b1d684d5a62ba90f9f280.tar.bz2 rneovim-2351b931dd1b3ca0c83b1d684d5a62ba90f9f280.zip |
clint: use fileinput for stdin
Fixes handing of "-" on Python 3:
Traceback (most recent call last):
File "…/Vcs/neovim/src/clint.py", line 3625, in <module>
main()
File "…/Vcs/neovim/src/clint.py", line 3618, in main
ProcessFile(filename, _cpplint_state.verbose_level)
File "…/Vcs/neovim/src/clint.py", line 3464, in ProcessFile
'replace').read().split('\n')
File "/usr/lib/python3.7/codecs.py", line 701, in read
return self.reader.read(size)
File "/usr/lib/python3.7/codecs.py", line 500, in read
data = self.bytebuffer + newdata
TypeError: can't concat str to bytes
Diffstat (limited to 'scripts/genvimvim.lua')
0 files changed, 0 insertions, 0 deletions