Revision 1fdfa87a

b/lib/daemon.py
621 621
    constants.NODED: getents.noded_uid,
622 622
    constants.CONFD: getents.confd_uid,
623 623
    }
624
  assert daemon_name in daemon_uids, "Invalid daemon %s" % daemon_name
624 625

  
625 626
  return (daemon_uids[daemon_name] == running_uid, running_uid,
626 627
          daemon_uids[daemon_name])
b/lib/runtime.py
171 171
  """Singleton wrapper around resolver instance.
172 172

  
173 173
  As this method is accessed by multiple threads at the same time
174
  we need to take thread-safty carefully
174
  we need to take thread-safety carefully.
175 175

  
176 176
  """
177 177
  # We need to use the global keyword here

Also available in: Unified diff