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