[mod] len() removed from conditions

This commit is contained in:
asciimoo 2014-02-11 13:13:51 +01:00
parent 239299d45e
commit c1d7d30b8e
8 changed files with 19 additions and 17 deletions

View file

@ -39,7 +39,7 @@ def parse(query):
def do_query(data, q):
ret = []
if not len(q):
if not q:
return ret
qkey = q[0]