always select twistedreactor hub

This commit is contained in:
Denis Bilenko
2008-10-07 18:31:52 +07:00
parent 5ac7e6bcb4
commit df9c98e894

View File

@@ -354,6 +354,10 @@ def get_default_hub():
"""Select the default hub implementation based on what multiplexing """Select the default hub implementation based on what multiplexing
libraries are installed. Tries libevent first, then poll, then select. libraries are installed. Tries libevent first, then poll, then select.
""" """
from eventlet.hubs import twistedreactor
return twistedreactor
try: try:
import eventlet.hubs.libevent import eventlet.hubs.libevent
return eventlet.hubs.libevent return eventlet.hubs.libevent