def _clear_datastore_storage(datastore_path):
 if os.path.lexists(datastore_path):
  try:
   os.remove(datastore_path)
  except OSError as e:
   logging.warning('Failed to remove datastore file %r: %s', datastore_path, e)

def _clear_datastore_storage ( datastore_path ) : if os . path . lexists ( datastore_path ) : try : os . remove ( datastore_path ) except OSError as e : logging . warning ( 'Failed to remove datastore file %r: %s' , datastore_path , e )
delete the datastore storage file at the given path .