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

login
register
mail settings
Submitter Yuya Nishihara
Date April 29, 2014, 4:56 a.m.
Message ID <eee3be0b2c439b2f2dcd.1398747401@gimlet>
Download mbox | patch
Permalink /patch/4457/
State Accepted
Commit 6dc89aa6dc05358ceb6c59d7549d1c9aae70a47e
Headers show

Comments

Yuya Nishihara - April 29, 2014, 4:56 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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
Augie Fackler - April 29, 2014, 3:21 p.m.
On Tue, Apr 29, 2014 at 01:56:41PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@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

These look trivially correct, queued, thanks.

>
> 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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

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