Commits

YouGov, plc. committed b94546f

Fixed argument order

  • Participants
  • Parent commits ed160d5
  • Tags 0.8

Comments (0)

Files changed (1)

py25compat/subprocess.py

 
 def os_term(pid):
 	import signal
-	os.kill(signal.SIGTERM, pid)
+	os.kill(pid, signal.SIGTERM)
 
 def term_pid_win32(pid):
 	raise NotImplementedError()
 
 def os_kill(pid):
 	import signal
-	os.kill(signal.SIGKILL, pid)
+	os.kill(pid, signal.SIGKILL)
 
 def kill_pid_win32(pid):
 	raise NotImplementedError()