summaryrefslogtreecommitdiff
path: root/contrib/buildslave-0.8.5-gnunet-w32.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/buildslave-0.8.5-gnunet-w32.patch')
-rw-r--r--contrib/buildslave-0.8.5-gnunet-w32.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/buildslave-0.8.5-gnunet-w32.patch b/contrib/buildslave-0.8.5-gnunet-w32.patch
index 291efc47a..8b910fb47 100644
--- a/contrib/buildslave-0.8.5-gnunet-w32.patch
+++ b/contrib/buildslave-0.8.5-gnunet-w32.patch
@@ -49,11 +49,11 @@ diff -urN buildbot-slave-0.8.5.orig/buildslave/runprocess.py buildbot-slave-0.8.
+def safe_terminate_process_by_pid (proc, code):
+ if os.name == 'nt':
+ try:
-+ openproc = win32process.OpenProcess (2 | 1024 | 8 | 32 | 16, 0, proc)
++ openproc = win32api.OpenProcess (2 | 1024 | 8 | 32 | 16, 0, proc)
+ try:
+ d = Dummy ()
+ d.SetHandle (openproc)
-+ safe_termiate_process (d, code)
++ safe_terminate_process (d, code)
+ finally:
+ win32api.CloseHandle (openproc)
+ except: