changeset 1404:adcfbe0fb453 beta

fixes #218 os.kill patch for windows was missing sig param
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 01 Jul 2011 16:25:20 +0200
parents fc286aed92fe
children 9c6f39430aff
files rhodecode/lib/pidlock.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/pidlock.py	Thu Jun 30 21:44:31 2011 +0200
+++ b/rhodecode/lib/pidlock.py	Fri Jul 01 16:25:20 2011 +0200
@@ -11,7 +11,7 @@
 if __platform__ in PLATFORM_WIN:
     import ctypes
 
-    def kill(pid):
+    def kill(pid, sig):
         """kill function for Win32"""
         kernel32 = ctypes.windll.kernel32
         handle = kernel32.OpenProcess(1, 0, pid)