Commit 10905d5d authored by Bram Schoenmakers's avatar Bram Schoenmakers

Rename variable

parent ad854716
...@@ -70,10 +70,10 @@ class TodoList(TodoListBase): ...@@ -70,10 +70,10 @@ class TodoList(TodoListBase):
self._depgraph.add_edge(hash(p_todo), hash(dep), dep_id) self._depgraph.add_edge(hash(p_todo), hash(dep), dep_id)
for child in p_todo.tag_values('p'): for dep_id in p_todo.tag_values('p'):
parent = self.todo_by_dep_id(child) parent = self.todo_by_dep_id(dep_id)
if parent: if parent:
self._depgraph.add_edge(hash(parent), hash(p_todo), child) self._depgraph.add_edge(hash(parent), hash(p_todo), dep_id)
def add_todos(self, p_todos): def add_todos(self, p_todos):
for todo in p_todos: for todo in p_todos:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment