[PATCH 3 of 3 STABLE] killdaemons: correct typo of _check() function caught by pyflakes

Yuya Nishihara yuya at tcha.org
Mon Apr 28 23:56:41 CDT 2014


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1398742656 -32400
#      Tue Apr 29 12:37:36 2014 +0900
# Branch stable
# Node ID eee3be0b2c439b2f2dcdb1fa448884c719a7c7ec
# Parent  1e4817bac55db80b468a2a6651df84dec6b574e9
killdaemons: correct typo of _check() function caught by pyflakes

diff --git a/tests/killdaemons.py b/tests/killdaemons.py
--- a/tests/killdaemons.py
+++ b/tests/killdaemons.py
@@ -43,7 +43,7 @@ if os.name =='nt':
             elif r == WAIT_TIMEOUT:
                 logfn('# Daemon process %d is stuck')
             else:
-                check(r) # any error
+                _check(r) # any error
         except: #re-raises
             ctypes.windll.kernel32.CloseHandle(handle) # no _check, keep error
             raise


More information about the Mercurial-devel mailing list