##// END OF EJS Templates
Fix ultratb when there are non-ascii filenames present in a traceback...
Fix ultratb when there are non-ascii filenames present in a traceback This solves the simple problem of running a file with non-ascii chars in its name that contains an error of any kind in it.

File last commit:

r11086:c137395d
r19858:31b4e819
Show More
exceptions.py
16 lines | 676 B | text/x-python | PythonLexer
Jonathan Frederic
Comment & Refactor, utils and nbconvert main.
r10673 """NbConvert specific exceptions"""
Jonathan Frederic
Create exceptions file to house all of the convert specific exceptions....
r10431 #-----------------------------------------------------------------------------
# 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
#-----------------------------------------------------------------------------
Jonathan Frederic
Comment & Refactor, utils and nbconvert main.
r10673
Jonathan Frederic
Create exceptions file to house all of the convert specific exceptions....
r10431 class ConversionException(Exception):
"""An exception raised by the conversion process."""
pass