parameters: (pidfile_path)
docstring: Remove the named PID file if it exists.
  
          Remove the named PID file. Ignore the condition if the file
          does not exist, since that only means we are already in the
          desired state.
docstring_summary: Remove the named PID file if it exists.
docstring_tokens: Remove the named PID file if it exists .
function: def remove_existing_pidfile(pidfile_path):
      """ Remove the named PID file if it exists.
  
          Remove the named PID file. Ignore the condition if the file
          does not exist, since that only means we are already in the
          desired state.
  
          """
      try:
          os.remove(pidfile_path)
      except OSError as exc:
          if exc.errno == errno.ENOENT:
              pass
          else:
              raise
function_tokens: def remove_existing_pidfile ( pidfile_path ) : try : os . remove ( pidfile_path ) except OSError as exc : if exc . errno == errno . ENOENT : pass else : raise