def untar_backup_files(source):
  logging.info("Untarring backup file '{0}'...".format(source))
  try:
    tar = tarfile.open(source, "r:gz")
    tar.extractall(path="/")
    tar.close()
  except tarfile.TarError, tar_error:
    logging.exception(tar_error)
    raise backup_exceptions.BRException(
      "Exception while untarring backup file '{0}'.".format(source))
  logging.info("Done untarring '{0}'.".format(source))
Drop per-execution-context reservations
dataset/ETHPy150Open AppScale/appscale/AppDB/backup/backup_recovery_helper.py/untar_backup_files--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter._UnlockedDropECReservations