Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyvows/runner/gevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ def _run_setup_and_topic(ctx_obj, index):

try:
topic_func = ctx_obj.topic
if topic_func is None:
return None

topic_list = get_topics_for(topic_func, ctx_obj)

start_time = time.time()

if topic_func is None:
return None

topic = topic_func(*topic_list)
ctx_result['topic_elapsed'] = elapsed(start_time)
return topic
Expand Down