summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-22 06:07:01 +0000
committerLRN <lrn1986@gmail.com>2013-03-22 06:07:01 +0000
commitb5b8e0a798612a5b5f25ac3d847b0f5a0f2296ce (patch)
tree0a276792fa974e900f12d5bd14385dd0da960773 /contrib
parent228a41cf6c86d1e6ca058c906d41b8d6be24e907 (diff)
Fix the buildslave patch
Diffstat (limited to 'contrib')
-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: