~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Martin
  • Date: 2011-05-27 02:21:57 UTC
  • mto: (5425.4.19 220464-stale-locks)
  • mto: This revision was merged to the branch mainline in revision 5970.
  • Revision ID: gzlist@googlemail.com-20110527022157-bgyrx9ovvt3alz6r
Get docstring of _posix_is_local_pid_dead the right way round

Show diffs side-by-side

added added

removed removed

Lines of Context:
2451
2451
 
2452
2452
 
2453
2453
def _posix_is_local_pid_dead(pid):
2454
 
    """True if a process with given pid is running on this machine"""
 
2454
    """True if pid doesn't correspond to live process on this machine"""
2455
2455
    try:
2456
2456
        # Special meaning of unix kill: just check if it's there.
2457
2457
        os.kill(pid, 0)