From 9d653c0c7815e369211a9a9fbe899cb02feed8ba 2013-12-15 22:28:04 From: damianavila Date: 2013-12-15 22:28:04 Subject: [PATCH] Delete an old dictionary available for selecting the aligment of text. --- diff --git a/IPython/nbconvert/preprocessors/revealhelp.py b/IPython/nbconvert/preprocessors/revealhelp.py index c59b258..fb39ed0 100755 --- a/IPython/nbconvert/preprocessors/revealhelp.py +++ b/IPython/nbconvert/preprocessors/revealhelp.py @@ -43,11 +43,10 @@ class RevealHelpPreprocessor(Preprocessor): preprocessors to pass variables into the Jinja engine. """ - for worksheet in nb.worksheets : + for worksheet in nb.worksheets: for index, cell in enumerate(worksheet.cells): #Make sure the cell has slideshow metadata. - cell.metadata.align_type = cell.get('metadata', {}).get('slideshow', {}).get('align_type', 'Left') cell.metadata.slide_type = cell.get('metadata', {}).get('slideshow', {}).get('slide_type', '-') #Get the slide type. If type is start of subslide or slide,