Skip to content
Permalink
Browse files

I am a professional software engineer

  • Loading branch information
alex committed Jul 5, 2013
1 parent 51878fd commit 856e19ec822b729127f282b2a971fabbfb23d5d5
Showing with 6 additions and 2 deletions.
  1. +6 −2 topaz/modules/process.py
@@ -74,7 +74,9 @@ def method_fork(self, space, block):
@moduledef.function("kill")
def method_kill(self, space, w_signal, args_w):
if not args_w:
raise space.error(space.w_ArgumentError, "wrong number of arguments (%d for at least 2)" % len(args_w + 1))
raise space.error(space.w_ArgumentError,
"wrong number of arguments (%d for at least 2)" % (len(args_w) + 1)
)
if space.is_kind_of(w_signal, space.w_fixnum):
sig = space.int_w(w_signal)
else:
@@ -84,7 +86,9 @@ def method_kill(self, space, w_signal, args_w):
try:
sig = SIGNALS[s]
except KeyError:
raise space.error(space.w_ArgumentError, "unsupported name `SIG%s'" % s)
raise space.error(space.w_ArgumentError,
"unsupported name `SIG%s'" % s
)

if sig < 0:
for w_arg in args_w:

0 comments on commit 856e19e

Please sign in to comment.
You can’t perform that action at this time.