comparison mercurial/utils/procutil.py @ 41076:8ecb17b7f432

procutil: correct spelling of uninterruptable -> uninterruptible Differential Revision: https://phab.mercurial-scm.org/D5488
author Kyle Lippincott <spectral@google.com>
date Fri, 28 Dec 2018 12:51:47 -0800
parents 246b61bfdc2f
children b0e3f2d7c143
comparison
equal deleted inserted replaced
41075:d0c86a7447a6 41076:8ecb17b7f432
435 finally: 435 finally:
436 if prevhandler is not None: 436 if prevhandler is not None:
437 signal.signal(signal.SIGCHLD, prevhandler) 437 signal.signal(signal.SIGCHLD, prevhandler)
438 438
439 @contextlib.contextmanager 439 @contextlib.contextmanager
440 def uninterruptable(warn): 440 def uninterruptible(warn):
441 """Inhibit SIGINT handling on a region of code. 441 """Inhibit SIGINT handling on a region of code.
442 442
443 Note that if this is called in a non-main thread, it turns into a no-op. 443 Note that if this is called in a non-main thread, it turns into a no-op.
444 444
445 Args: 445 Args: