Commits

holger krekel committed 01a8cb8

mkdir might fail here, use ensure

Comments (0)

Files changed (1)

         if path.check():
             self.report.info("  removing %s" % path)
             py.std.shutil.rmtree(str(path), ignore_errors=True)
-            path.mkdir()
+            path.ensure(dir=1)
 
     def setupenv(self, venv, sdist_path):
         action = self.newaction(venv, "prepareenv", venv.envconfig.envdir)