Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
c8c1804b
Commit
c8c1804b
authored
Jun 03, 2016
by
MinchinWeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve HiddenTagFilter documentation
parent
7c0b829e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
topydo/lib/Filter.py
topydo/lib/Filter.py
+2
-5
No files found.
topydo/lib/Filter.py
View file @
c8c1804b
...
@@ -160,17 +160,14 @@ class HiddenTagFilter(Filter):
...
@@ -160,17 +160,14 @@ class HiddenTagFilter(Filter):
"""
"""
Constructor.
Constructor.
A filter which selects a number of Todo instances from a TodoList
A filter which hides items marked with the approriate tag.
instance.
This is handy for constructing a view given a plain list of Todo items.
"""
"""
super
().
__init__
()
super
().
__init__
()
self
.
todos
=
p_todos
self
.
todos
=
p_todos
def
match
(
self
,
p_todo
):
def
match
(
self
,
p_todo
):
"""
"""
Returns T
ur
e when p_todo doesn't have a tag to mark it as hidden.
Returns T
ru
e when p_todo doesn't have a tag to mark it as hidden.
"""
"""
for
my_tag
in
config
().
hidden_item_tags
():
for
my_tag
in
config
().
hidden_item_tags
():
my_values
=
p_todo
.
tag_values
(
my_tag
)
my_values
=
p_todo
.
tag_values
(
my_tag
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment