Show More
@@ -60,7 +60,7 b' def convert(nb, to_version):' | |||
|
60 | 60 | convert_function = versions[version].downgrade |
|
61 | 61 | |
|
62 | 62 | # Convert and make sure version changed during conversion. |
|
63 |
converted = convert_function(nb) |
|
|
63 | converted = convert_function(nb) | |
|
64 | 64 | if converted.get('nbformat', 1) == version: |
|
65 | 65 | raise Exception("Cannot convert notebook from v%d to v%d. Operation" \ |
|
66 | 66 | "failed silently." % (major, step_version)) |
@@ -154,7 +154,8 b' def find_package_data():' | |||
|
154 | 154 | 'IPython.nbconvert' : ['templates/*.tpl', 'templates/latex/*.tplx', |
|
155 | 155 | 'templates/latex/skeleton/*.tplx', 'templates/skeleton/*', |
|
156 | 156 | 'templates/reveal_internals/*.tpl', 'tests/files/*.*', |
|
157 | 'exporters/tests/files/*.*'] | |
|
157 | 'exporters/tests/files/*.*'], | |
|
158 | 'IPython.nbformat' : ['tests/*.ipynb'] | |
|
158 | 159 | } |
|
159 | 160 | return package_data |
|
160 | 161 |
General Comments 0
You need to be logged in to leave comments.
Login now