##// END OF EJS Templates
Fix kernel restart in case connection file is deleted....
Fix kernel restart in case connection file is deleted. On Mac, the /tmp files are deleted after 3 days if inactivity, causing qtconsole kernel restart to fail subsequently. This commit adds check to ensure that connection_file is written if it does not exist.

File last commit:

r11086:c137395d
r15680:3bf75e6e
Show More
exceptions.py
16 lines | 676 B | text/x-python | PythonLexer
"""NbConvert specific exceptions"""
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Classes and functions
#-----------------------------------------------------------------------------
class ConversionException(Exception):
"""An exception raised by the conversion process."""
pass