def destroy_datastore(datastore_path, history_path):
  """Destroys the appengine datastore at the specified paths."""
  for path in [datastore_path, history_path]:
    if not path: continue
    try:
      os.remove(path)
    except __HOLE__, e:
      if e.errno != 2:
        logging.error("Failed to clear datastore: %s" % e)
dataset/ETHPy150Open CollabQ/CollabQ/appengine_django/db/base.py/destroy_datastore