From f5d2f5a2dca3f18ef6fddb3a00d9383ebac5b521 Mon Sep 17 00:00:00 2001 From: fpdb-mme Date: Sun, 1 Nov 2009 09:58:14 +0100 Subject: [PATCH] fix: according to doctests os_independend_kill() is supposed to return None --- pyfpdb/interlocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/interlocks.py b/pyfpdb/interlocks.py index 366edd68..4e427e7d 100755 --- a/pyfpdb/interlocks.py +++ b/pyfpdb/interlocks.py @@ -215,7 +215,7 @@ def test_construct(): ... import win32con ... import pywintypes ... handle = win32api.OpenProcess(win32con.PROCESS_TERMINATE , pywintypes.FALSE, pid) - ... return (0 != win32api.TerminateProcess(handle, 0)) + ... #return (0 != win32api.TerminateProcess(handle, 0)) # Test to acquire the lock in another process. >>> def execute(cmd):