diff --git a/vos/setup.cfg b/vos/setup.cfg index ac638013f..c758c6f25 100644 --- a/vos/setup.cfg +++ b/vos/setup.cfg @@ -51,7 +51,7 @@ edit_on_github = False github_project = opencadc/vostools install_requires = html2text>=2016.5.29 cadcutils>=1.1.20 future enum34 # version should be PEP440 compatible (http://www.python.org/dev/peps/pep-0440) -version = 3.0.11.1 +version = 3.0.12 [entry_points] vcat = vos.commands.vcat:vcat diff --git a/vos/vos/commonparser.py b/vos/vos/commonparser.py index 4654c22f4..81ba5f8a1 100644 --- a/vos/vos/commonparser.py +++ b/vos/vos/commonparser.py @@ -12,11 +12,13 @@ def signal_handler(signum, frame): """Exit without calling cleanup handlers, flushing stdio buffers, etc. """ + logging.info('Received signal {}. Exiting.'.format(signum)) os._exit(signum) signal.signal(signal.SIGINT, signal_handler) # Ctrl-C -signal.signal(signal.SIGPIPE, signal_handler) # Pipe gone (head, more etc) +# Disabled due to unexpected SIGPIPE signals that do not warn the user +# signal.signal(signal.SIGPIPE, signal_handler) # Pipe gone (head, more etc) def exit_on_exception(ex, message=None):