ipython/nbconvert — pull request #57 by maxalbert (2012-11-15 15:50:19+00:00)
Title: Cleanup

Two small cleanups/fixes:

- Much cleaner way of finding the right converter (based on a suggestion by @Carreau). This will result in much cleaner diffs when changing the API, adding arguments, etc. It also allows us to extract the known formats automatically.

- Fixed an assertion which didn't actually check the file extension but an arbitrary occurrence of 'rst'