1. holger krekel
  2. tox

Commits

holger krekel  committed 01a8cb8

mkdir might fail here, use ensure

  • Participants
  • Parent commits 6a27e94
  • Branches default

Comments (0)

Files changed (1)

File tox/_cmdline.py

View file
  • Ignore whitespace
         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)