Skip to content

Commit

Permalink
Fix 'not empty' filter for string-type UDAs, #181
Browse files Browse the repository at this point in the history
  • Loading branch information
bmbove committed Jan 12, 2015
1 parent 84a0845 commit e7f2328
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 e7f2328

Please sign in to comment.