remoting/host/installer/build-installer-archive.py
def cleanDir(dir):
  """Deletes and recreates the dir to make sure it is clean.

  Args:
    dir: The directory to clean.
  """
  try:
    shutil.rmtree(dir)
  except OSError:
    if os.path.exists(dir):
      raise
    else:
      pass
  os.makedirs(dir, 0o775)
Deletes and recreates the dir to make sure it is clean.

  Args:
    dir: The directory to clean.
  
Deletes and recreates the dir to make sure it is clean.
Deletes and recreates the dir to make sure it is clean .
def cleanDir(dir):
  try:
    shutil.rmtree(dir)
  except OSError:
    if os.path.exists(dir):
      raise
    else:
      pass
  os.makedirs(dir, 0o775)
def cleanDir ( dir ) : try : shutil . rmtree ( dir ) except OSError : if os . path . exists ( dir ) : raise else : pass os . makedirs ( dir , 0o775 )
Deletes and recreates the dir to make sure it is clean.
Deletes and recreates the dir to make sure it is clean .
"""Deletes and recreates the dir to make sure it is clean.

  Args:
    dir: The directory to clean.
  """
dir
The directory to clean.
The directory to clean .