def DaemonPidFileName(name):
  """Compute a ganeti pid file absolute path

  @type name: str
  @param name: the daemon name
  @rtype: str
  @return: the full path to the pidfile corresponding to the given
      daemon name

  """
  return PathJoin(pathutils.RUN_DIR, name % "%s.pid")
dataset/ETHPy150Open ganeti/ganeti/lib/utils/io.py/DaemonPidFileName/swapped operands of `%`