Commit aca345ff authored by Denis Bilenko's avatar Denis Bilenko

add XXX to greentest.py

parent e53377b9
......@@ -137,6 +137,8 @@ def wrap_refcount(method):
def wrap_error_fatal(method):
@wraps(method)
def wrapped(self, *args, **kwargs):
# XXX should also be able to do gevent.SYSTEM_ERROR = object
# which is a global default to all hubs
SYSTEM_ERROR = gevent.get_hub().SYSTEM_ERROR
gevent.get_hub().SYSTEM_ERROR = object
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment