Skip to content

Commit

Permalink
Merge pull request #182 from bmbove/empty-filter-fix
Browse files Browse the repository at this point in the history
Empty filter fix
  • Loading branch information
ralphbean committed Jan 13, 2015
2 parents e3a9599 + e7f2328 commit 765b907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugwarrior/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_managed_task_uuids(tw, key_list, legacy_matching):
expected_task_ids = set([])
for keys in key_list.values():
tasks = tw.filter_tasks({
'and': [('%s.not' % key, '') for key in keys],
'and': [('%s.any' % key, None) for key in keys],
'or': [
('status', 'pending'),
('status', 'waiting'),
Expand Down

0 comments on commit 765b907

Please sign in to comment.