##// END OF EJS Templates
Fix error when overwriting a bad symbolic link installing an nbextension...
Fix error when overwriting a bad symbolic link installing an nbextension The unit test fails before this fix and works after this fix. Basically, if the already-installed symlink is a bad link, .exists() returns False (so the existing link is not removed), while .lexists() will return True (so the existing link is removed).

File last commit:

r10447:853e909f
r20245:e5220e22
Show More
display.py
16 lines | 638 B | text/x-python | PythonLexer
Fernando Perez
Add top-level display module for public api.
r7721 """Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.core.display import *
from IPython.lib.display import *