mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 21:21:53 +00:00
Merge branch 'master' of github.com:unbit/uwsgi
This commit is contained in:
+2
-2
@@ -378,9 +378,9 @@ class harakiri(object):
|
||||
def __init__(self, seconds):
|
||||
self.s = seconds
|
||||
|
||||
def real_call(self, *args):
|
||||
def real_call(self, *args, **kwargs):
|
||||
uwsgi.set_user_harakiri(self.s)
|
||||
r = self.f(*args)
|
||||
r = self.f(*args, **kwargs)
|
||||
uwsgi.set_user_harakiri(0)
|
||||
return r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user