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
cedd6615
Commit
cedd6615
authored
Jun 05, 2015
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call parent class' constructor for initialization.
parent
21cc6d98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
topydo/lib/TodoList.py
topydo/lib/TodoList.py
+2
-5
No files found.
topydo/lib/TodoList.py
View file @
cedd6615
...
@@ -36,14 +36,11 @@ class TodoList(TodoListBase):
...
@@ -36,14 +36,11 @@ class TodoList(TodoListBase):
Should be given a list of strings, each element a single todo string.
Should be given a list of strings, each element a single todo string.
The string will be parsed.
The string will be parsed.
"""
"""
self
.
_todos
=
[]
# initialize these first because the constructor calls add_list
self
.
_tododict
=
{}
# hash(todo) to todo lookup
self
.
_tododict
=
{}
# hash(todo) to todo lookup
self
.
_depgraph
=
DirectedGraph
()
self
.
_depgraph
=
DirectedGraph
()
self
.
_todo_id_map
=
{}
self
.
_id_todo_map
=
{}
self
.
add_list
(
p_todostrings
)
super
(
TodoList
,
self
).
__init__
(
p_todostrings
)
self
.
dirty
=
False
def
todo_by_dep_id
(
self
,
p_dep_id
):
def
todo_by_dep_id
(
self
,
p_dep_id
):
"""
"""
...
...
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