ralsina/nikola — pull request #195 by okin (2012-12-25 13:13:41+00:00)
Title: Restructed the way posts, pages or attachments are imported.

This reduces the import to a single for loop.
Besides that the namespace is only read once per item and the output-folder for posts or pages are detected earlier so we do not exit the function after reading in a lot of stuff and suddenly detecting that this is an attachment.