exclude nginx hub from default list of all hubs

This commit is contained in:
Denis Bilenko
2008-10-28 16:43:29 +06:00
parent 9175551f3b
commit f821b37c4a

View File

@@ -9,6 +9,7 @@ from copy import copy
from with_eventlet import import_reactor
COMMAND = './record_results.py ./with_timeout.py ./with_eventlet.py %(setup)s %(test)s'
NOT_HUBS = ['hub', 'nginx']
def w(s):
sys.stderr.write("%s\n" % (s, ))
@@ -18,7 +19,7 @@ def enum_hubs():
hubs = glob.glob('../eventlet/hubs/*.py')
hubs = [os.path.basename(h)[:-3] for h in hubs]
hubs = [h for h in hubs if h[:1]!='_']
hubs = set(hubs) - set(['hub'])
hubs = set(hubs) - set(NOT_HUBS)
result = []
for hub in hubs:
try: