Merge lp:~bryce/gtg/lp-602108 into lp:~gtg/gtg/old-trunk
Proposed by
Bryce Harrington
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 959 | ||||
Proposed branch: | lp:~bryce/gtg/lp-602108 | ||||
Merge into: | lp:~gtg/gtg/old-trunk | ||||
Diff against target: |
55 lines (+12/-6) 2 files modified
GTG/core/filteredtree.py (+8/-5) gtcli (+4/-1) |
||||
To merge this branch: | bzr merge lp:~bryce/gtg/lp-602108 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lionel Dricot | code | Pending | |
Review via email: mp+29248@code.launchpad.net |
Description of the change
I've attached a branch with a change to the filter code that seems to fix it (at least for the test case in the description).
It seems that in __is_displayed(), if there is a tag filter using a tag that is not defined, it skips processing of it (which is correct) but the logic falls through to returning a True result by default. This branch changes this particular error case to default as False.
I am not 100% certain that this is the proper way to fix the bug, thus am proposing a merge for lionel to review rather than push it right into the tree. Meanwhile, I'll run this branch on my local tree and look for issues.
To post a comment you must log in.
I also fixed some of the surrounding comments grammar and spelling, sorry for that noise.