fix empty statement

This commit is contained in:
j 2011-11-10 11:08:04 +00:00
parent d539f6aebf
commit a49ed30ece

View file

@ -46,7 +46,7 @@ def parseCondition(condition, user):
return q return q
if (not exclude and op == '=' or op in ('$', '^')) and v == '': if (not exclude and op == '=' or op in ('$', '^')) and v == '':
return Q(True) return Q()
if k == 'filename' and (user.is_anonymous() or \ if k == 'filename' and (user.is_anonymous() or \
not user.get_profile().capability('canSeeFiles')): not user.get_profile().capability('canSeeFiles')):