##// END OF EJS Templates
Merge pull request #998 from minrk/homedir...
Merge pull request #998 from minrk/homedir defer to stdlib os.path.expanduser('~') for path.get_home_dir() frozen env still comes first, and My Documents registry query is fallback on Windows, but in all normal cases, expanduser is used, which has $HOME as first priority. IPython also no longer considers finding no writable home dir as a fatal error. closes #810 closes #747 closes #970

File last commit:

r4609:a661b7c0
r5391:351c8fc4 merge
Show More
convert.py
16 lines | 675 B | text/x-python | PythonLexer
"""Convert notebook to the v1 format."""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 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.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------
def convert_to_this_nbformat(nb, orig_version=None):
raise ValueError('Cannot convert to v1 notebook format')