Author: Matti Picus <[email protected]>
Branch:
Changeset: r55206:8c1dcaf2b0bb
Date: 2012-05-29 19:53 +0300
http://bitbucket.org/pypy/pypy/changeset/8c1dcaf2b0bb/
Log: make return value consistent, fixes translation
diff --git a/pypy/rlib/rwin32.py b/pypy/rlib/rwin32.py
--- a/pypy/rlib/rwin32.py
+++ b/pypy/rlib/rwin32.py
@@ -371,7 +371,7 @@
if sig == CTRL_C_EVENT or sig == CTRL_BREAK_EVENT:
if GenerateConsoleCtrlEvent(sig, pid) == 0:
raise lastWindowsError('os_kill failed generating event')
- return 0
+ return
handle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
if handle == NULL_HANDLE:
raise lastWindowsError('os_kill failed opening process')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit