makedirs is redefined in mozrunner: http://github.com/mozautomation/mozmill/blob/master/mozrunner/mozrunner/__init__.py#L148 instead, os.makedirs may be used
Created attachment 501509 [details] [diff] [review] remove hand-rolled makedirs function works for linux. untested on mac + win
Comment on attachment 501509 [details] [diff] [review] remove hand-rolled makedirs function works on Mac too.
pushed to master: https://github.com/mozautomation/mozmill/commit/b2a88695c8bda91f02456ad110205507d49e45c7 There has been some talk that os.makedirs does not work for some cases. Of course, this is impossible to tell since there is no comment to that affect. If there is a reason to revert, we can revert or use e.g. distutils.dir_util.create_tree . If we do add it back in, we should have at least a comment and preferably a test and it should probably be rewritten in a more reasonable manner (with, again, any subtleties documented)