From bb9d57becfb4b2042f4184c0e869a1ffd4a0153d 2013-08-06 21:37:28 From: Jonathan Frederic Date: 2013-08-06 21:37:28 Subject: [PATCH] s/AttributeError/TypeError --- diff --git a/IPython/nbconvert/writers/files.py b/IPython/nbconvert/writers/files.py index a732bd0..51d8e9c 100644 --- a/IPython/nbconvert/writers/files.py +++ b/IPython/nbconvert/writers/files.py @@ -63,7 +63,7 @@ class FilesWriter(WriterBase): # Verify that a notebook name is provided. if notebook_name is None: - raise AttributeError('notebook_name') + raise TypeError('notebook_name') # Pull the extension and subdir from the resources dict. output_extension = resources.get('output_extension', None)