~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Martin Pool
  • Date: 2011-05-27 03:40:07 UTC
  • mto: (5425.4.26 220464-stale-locks)
  • mto: This revision was merged to the branch mainline in revision 5970.
  • Revision ID: mbp@sourcefrog.net-20110527034007-u1ted13mydylst2p
Suppress failures from os.kill when just using it to check for process liveness

Show diffs side-by-side

added added

removed removed

Lines of Context:
2464
2464
            # exists, though not ours
2465
2465
            return False
2466
2466
        else:
2467
 
            raise
 
2467
            mutter("os.kill(%d, 0) failed: %s" % (pid, e))
 
2468
            # Don't really know.
 
2469
            return False
2468
2470
    else:
2469
2471
        # Exists and our process: not dead.
2470
2472
        return False