huge speed up (4x times faster)

This commit is contained in:
Miroslav Stampar 2011-04-22 21:00:42 +00:00
parent f88aa4b165
commit 75142b383d

View File

@ -102,8 +102,8 @@ def resume(expression, payload):
return None
condition = (
kb.resumedQueries and conf.url in kb.resumedQueries.keys()
and expression in kb.resumedQueries[conf.url].keys()
kb.resumedQueries and conf.url in kb.resumedQueries
and expression in kb.resumedQueries[conf.url]
)
if not condition: