File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030
3131# importing this causes the 'config' subcommand to be available
3232from jwt .exceptions import PyJWTError
33- from platformdirs import user_cache_path
3433from pygments import highlight
3534from pygments .formatters import Terminal256Formatter
3635from pygments .lexers import get_lexer_by_name , load_lexer_from_file
5251from milc import cli , questions # this uses metadata set above
5352from milc .subcommand import config # this creates the config subcommand
5453
55- # this allows the app the terminate gracefully when piped to a truncating consumer like `head`
56- signal .signal (signal .SIGPIPE , signal .SIG_DFL )
54+ if platform .system () == 'Linux' :
55+ # this allows the app the terminate gracefully when piped to a truncating consumer like `head`
56+ signal .signal (signal .SIGPIPE , signal .SIG_DFL )
5757
5858
5959class StoreDictKeyPair (argparse .Action ):
You can’t perform that action at this time.
0 commit comments