Commit d2a474aa authored by Denis Bilenko's avatar Denis Bilenko

gevent/greenlet.py: minor simplification

parent 29fdba88
......@@ -192,7 +192,7 @@ class Hub(object):
try:
switch_out()
except:
traceback.print_exception(*sys.exc_info())
traceback.print_exc()
if self.greenlet.dead:
self.greenlet = Greenlet(self.run)
return self.greenlet.switch()
......
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