def CreateTemporaryDirectories():
  for path in (GetRunDirPath(), GetVersionDirPath()):
    try:
      os.makedirs(path)
    except OSError:
      if not os.path.isdir(path):
        raise
Creates the temporary sub-directories needed by the current run.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/temp_dir.py/CreateTemporaryDirectories