mikemaccana/python-docx — pull request #28 by dluengo (2013-04-26 10:55:45+00:00)
Title: changing from os.mkdir() to os.makedirs()

If the path template/word/ doesn't exists the creation of template/word/media wouldn't be created since os.mkdir() doesn't create the intermetidate directories. os.makedirs() does it.