def safe_delete(filename):
  try:
    os.unlink(filename)
  except OSError as e:
    if e.errno != errno.ENOENT:
      raise
If app argument provided then initialize Redis using application config values.
dataset/ETHPy150Open pantsbuild/pex/pex/common.py/safe_delete--crossover with--dataset/ETHPy150Open Robpol86/Flask-Redis-Helper/flask_redis.py/Redis.__init__