diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-01-10 13:27:37 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-01-25 10:37:27 -0800 |
commit | 83d706d86142c693cdc92c4824b38c96ad0e4988 (patch) | |
tree | e407d744d29f5acf1023d3b1eddf8cd41a012158 /NEWS | |
parent | 03371459f0372f312073b7af84f5754526d04f10 (diff) |
alot/__main__: use the new validators instead of type=argparse.FileType
This replaces the use of type as a validator with the validator keyword.
This is both cleaner and allows the type keyword to be used for setting
the type (if it ever becomes necessary). It also has the advantage of
not opening and closing the file (thus truncating it) or breaking pipes
(like a fifo).
Fixes #996
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions